pub struct Proto2OneofDescriptorProto {
pub name: Option<String>,
}Expand description
Describes a oneof.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>no description provided
Trait Implementations§
Source§impl Clone for Proto2OneofDescriptorProto
impl Clone for Proto2OneofDescriptorProto
Source§fn clone(&self) -> Proto2OneofDescriptorProto
fn clone(&self) -> Proto2OneofDescriptorProto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Proto2OneofDescriptorProto
impl Debug for Proto2OneofDescriptorProto
Source§impl Default for Proto2OneofDescriptorProto
impl Default for Proto2OneofDescriptorProto
Source§fn default() -> Proto2OneofDescriptorProto
fn default() -> Proto2OneofDescriptorProto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Proto2OneofDescriptorProto
impl<'de> Deserialize<'de> for Proto2OneofDescriptorProto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Proto2OneofDescriptorProto
Auto Trait Implementations§
impl Freeze for Proto2OneofDescriptorProto
impl RefUnwindSafe for Proto2OneofDescriptorProto
impl Send for Proto2OneofDescriptorProto
impl Sync for Proto2OneofDescriptorProto
impl Unpin for Proto2OneofDescriptorProto
impl UnwindSafe for Proto2OneofDescriptorProto
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