pub enum Owner {
Generated,
Field(String),
Nanos(String),
Enum(String),
Message(String),
Group(MemberContext),
Value {
field: String,
code: String,
description: String,
},
}Expand description
What a generated name stands for.
Variants§
Generated
A name the generated code defines or imports for itself.
Field(String)
A field’s accessor.
Nanos(String)
The accessor of a field’s value in nanoseconds.
Enum(String)
The enum of a field’s values.
Message(String)
A message’s type or module.
Group(MemberContext)
A group’s type, module or accessor, by the context of its instances.
Value
One of a field’s values.
Trait Implementations§
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Forget for Owner
impl Freeze for Owner
impl Move for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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