pub struct OneofDescriptorProto {
pub name: String,
pub options: Option<Options>,
}Expand description
A oneof declaration.
Fields§
§name: String§options: Option<Options>Trait Implementations§
Source§impl Clone for OneofDescriptorProto
impl Clone for OneofDescriptorProto
Source§impl Debug for OneofDescriptorProto
impl Debug for OneofDescriptorProto
Source§impl PartialEq for OneofDescriptorProto
impl PartialEq for OneofDescriptorProto
Source§impl Serialize for OneofDescriptorProto
impl Serialize for OneofDescriptorProto
impl StructuralPartialEq for OneofDescriptorProto
Auto Trait Implementations§
impl Forget for OneofDescriptorProto
impl Freeze for OneofDescriptorProto
impl RefUnwindSafe for OneofDescriptorProto
impl Send for OneofDescriptorProto
impl Sync for OneofDescriptorProto
impl Unpin for OneofDescriptorProto
impl UnsafeUnpin for OneofDescriptorProto
impl UnwindSafe for OneofDescriptorProto
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