Struct protobuf::descriptor::OneofDescriptorProto [−][src]
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl OneofDescriptorProto
[src][−]
pub fn new() -> OneofDescriptorProto
[src]
pub fn get_name(&self) -> &str
[src]
pub fn clear_name(&mut self)
[src]
pub fn has_name(&self) -> bool
[src]
pub fn set_name(&mut self, v: String)
[src]
pub fn mut_name(&mut self) -> &mut String
[src]
pub fn take_name(&mut self) -> String
[src]
pub fn get_options(&self) -> &OneofOptions
[src]
pub fn clear_options(&mut self)
[src]
pub fn has_options(&self) -> bool
[src]
pub fn set_options(&mut self, v: OneofOptions)
[src]
pub fn mut_options(&mut self) -> &mut OneofOptions
[src]
pub fn take_options(&mut self) -> OneofOptions
[src]
Trait Implementations
impl Clear for OneofDescriptorProto
[src][+]
impl Clone for OneofDescriptorProto
[src][+]
impl Debug for OneofDescriptorProto
[src][+]
impl Default for OneofDescriptorProto
[src][+]
impl<'a> Default for &'a OneofDescriptorProto
[src][+]
impl Message for OneofDescriptorProto
[src][+]
impl PartialEq<OneofDescriptorProto> for OneofDescriptorProto
[src][+]
impl ProtobufValue for OneofDescriptorProto
[src][+]
impl StructuralPartialEq for OneofDescriptorProto
[src]
Auto Trait Implementations
impl RefUnwindSafe for OneofDescriptorProto
impl Send for OneofDescriptorProto
impl Sync for OneofDescriptorProto
impl Unpin for OneofDescriptorProto
impl UnwindSafe for OneofDescriptorProto
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,