pub struct Field {
pub name: &'static str,
pub id: u32,
pub value: &'static Schema,
}Expand description
A field in ascending wire-ID order.
Fields§
§name: &'static strRust field name, without a raw-identifier prefix.
id: u32Explicit field identity; not a transmitted tag.
value: &'static SchemaField encoding and bounds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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