pub struct Enumeration {
pub name: String,
pub values: Vec<EnumValue>,
}
Expand description
A protobuf enumerator
Fields§
§name: String
enum name
values: Vec<EnumValue>
enum values
Trait Implementations§
Source§impl Clone for Enumeration
impl Clone for Enumeration
Source§fn clone(&self) -> Enumeration
fn clone(&self) -> Enumeration
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for Enumeration
impl RefUnwindSafe for Enumeration
impl Send for Enumeration
impl Sync for Enumeration
impl Unpin for Enumeration
impl UnwindSafe for Enumeration
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