Struct protobuf::ext::ExtFieldOptional
source · pub struct ExtFieldOptional<M: Message, T: ProtobufType> {
pub field_number: u32,
pub phantom: PhantomData<(M, T)>,
}
Expand description
Optional ext field
Fields§
§field_number: u32
Extension field number
phantom: PhantomData<(M, T)>
Marker
Implementations§
source§impl<M: Message, T: ProtobufType> ExtFieldOptional<M, T>
impl<M: Message, T: ProtobufType> ExtFieldOptional<M, T>
Auto Trait Implementations§
impl<M, T> RefUnwindSafe for ExtFieldOptional<M, T>where M: RefUnwindSafe, T: RefUnwindSafe,
impl<M, T> Send for ExtFieldOptional<M, T>where T: Send,
impl<M, T> Sync for ExtFieldOptional<M, T>where T: Sync,
impl<M, T> Unpin for ExtFieldOptional<M, T>where M: Unpin, T: Unpin,
impl<M, T> UnwindSafe for ExtFieldOptional<M, T>where M: UnwindSafe, T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more