pub struct Uint16String {
pub key: u16,
pub value: String,
}
Expand description
The table Uint16String
in the namespace FBS.Common
Generated from these locations:
- Table
Uint16String
in the filefbs/common.fbs:13
Fields§
§key: u16
The field key
in the table Uint16String
value: String
The field value
in the table Uint16String
Implementations§
Source§impl Uint16String
impl Uint16String
Sourcepub fn builder() -> Uint16StringBuilder<()>
pub fn builder() -> Uint16StringBuilder<()>
Creates a Uint16StringBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_key: impl WriteAsDefault<u16, u16>, field_value: impl WriteAs<Offset<str>>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for Uint16String
impl Clone for Uint16String
Source§fn clone(&self) -> Uint16String
fn clone(&self) -> Uint16String
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 moreSource§impl Debug for Uint16String
impl Debug for Uint16String
Source§impl<'de> Deserialize<'de> for Uint16String
impl<'de> Deserialize<'de> for Uint16String
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Uint16String
impl Hash for Uint16String
Source§impl Ord for Uint16String
impl Ord for Uint16String
Source§fn cmp(&self, other: &Uint16String) -> Ordering
fn cmp(&self, other: &Uint16String) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Uint16String
impl PartialEq for Uint16String
Source§impl PartialOrd for Uint16String
impl PartialOrd for Uint16String
Source§impl Serialize for Uint16String
impl Serialize for Uint16String
Source§impl<'a> TryFrom<Uint16StringRef<'a>> for Uint16String
impl<'a> TryFrom<Uint16StringRef<'a>> for Uint16String
impl Eq for Uint16String
impl StructuralPartialEq for Uint16String
impl VectorWrite<Offset<Uint16String>> for Uint16String
impl WriteAs<Offset<Uint16String>> for Uint16String
impl WriteAsOffset<Uint16String> for Uint16String
impl<T0: WriteAsDefault<u16, u16>, T1: WriteAs<Offset<str>>> WriteAsOffset<Uint16String> for Uint16StringBuilder<(T0, T1)>
impl WriteAsOptional<Offset<Uint16String>> for Uint16String
Auto Trait Implementations§
impl Freeze for Uint16String
impl RefUnwindSafe for Uint16String
impl Send for Uint16String
impl Sync for Uint16String
impl Unpin for Uint16String
impl UnwindSafe for Uint16String
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