pub struct StringUint8 {
pub key: String,
pub value: u8,
}
Expand description
The table StringUint8
in the namespace FBS.Common
Generated from these locations:
- Table
StringUint8
in the filefbs/common.fbs:8
Fields§
§key: String
The field key
in the table StringUint8
value: u8
The field value
in the table StringUint8
Implementations§
Source§impl StringUint8
impl StringUint8
Sourcepub fn builder() -> StringUint8Builder<()>
pub fn builder() -> StringUint8Builder<()>
Creates a StringUint8Builder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_key: impl WriteAs<Offset<str>>, field_value: impl WriteAsDefault<u8, u8>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for StringUint8
impl Clone for StringUint8
Source§fn clone(&self) -> StringUint8
fn clone(&self) -> StringUint8
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 StringUint8
impl Debug for StringUint8
Source§impl<'de> Deserialize<'de> for StringUint8
impl<'de> Deserialize<'de> for StringUint8
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 StringUint8
impl Hash for StringUint8
Source§impl Ord for StringUint8
impl Ord for StringUint8
Source§fn cmp(&self, other: &StringUint8) -> Ordering
fn cmp(&self, other: &StringUint8) -> 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 StringUint8
impl PartialEq for StringUint8
Source§impl PartialOrd for StringUint8
impl PartialOrd for StringUint8
Source§impl Serialize for StringUint8
impl Serialize for StringUint8
Source§impl<'a> TryFrom<StringUint8Ref<'a>> for StringUint8
impl<'a> TryFrom<StringUint8Ref<'a>> for StringUint8
impl Eq for StringUint8
impl StructuralPartialEq for StringUint8
impl VectorWrite<Offset<StringUint8>> for StringUint8
impl WriteAs<Offset<StringUint8>> for StringUint8
impl WriteAsOffset<StringUint8> for StringUint8
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<u8, u8>> WriteAsOffset<StringUint8> for StringUint8Builder<(T0, T1)>
impl WriteAsOptional<Offset<StringUint8>> for StringUint8
Auto Trait Implementations§
impl Freeze for StringUint8
impl RefUnwindSafe for StringUint8
impl Send for StringUint8
impl Sync for StringUint8
impl Unpin for StringUint8
impl UnwindSafe for StringUint8
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