pub struct DataFieldDef {
pub name: String,
pub id: u16,
pub type_name: String,
pub description: Option<String>,
pub since_version: Option<u16>,
pub deprecated: Option<u16>,
}Expand description
Variable-length data field definition.
Fields§
§name: StringField name.
id: u16Field ID.
type_name: StringType name (e.g., “varDataEncoding”).
description: Option<String>Description.
since_version: Option<u16>Since version.
deprecated: Option<u16>Deprecated since version.
Implementations§
Trait Implementations§
Source§impl Clone for DataFieldDef
impl Clone for DataFieldDef
Source§fn clone(&self) -> DataFieldDef
fn clone(&self) -> DataFieldDef
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 moreAuto Trait Implementations§
impl Freeze for DataFieldDef
impl RefUnwindSafe for DataFieldDef
impl Send for DataFieldDef
impl Sync for DataFieldDef
impl Unpin for DataFieldDef
impl UnwindSafe for DataFieldDef
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