Struct power_protobuf_lib::OneOf
source · pub struct OneOf {
pub name: Ident,
pub field_name: Ident,
pub nested_mod_name: Ident,
pub field_lit: LitStr,
pub enum_name: Ident,
pub tags: LitStr,
pub fields: Vec<Field>,
pub options: Vec<ProtobufOption>,
}
Expand description
A OneOf
Fields§
§name: Ident
OneOf name
field_name: Ident
§nested_mod_name: Ident
§field_lit: LitStr
§enum_name: Ident
§fields: Vec<Field>
OneOf fields
options: Vec<ProtobufOption>
oneof options
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OneOf
impl RefUnwindSafe for OneOf
impl !Send for OneOf
impl !Sync for OneOf
impl Unpin for OneOf
impl UnwindSafe for OneOf
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