pub struct KeyValue<'a> {
    pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> KeyValue<'a>
 
impl<'a> KeyValue<'a>
pub const VT_KEY_TYPE: VOffsetT = 4u16
pub const VT_KEY: VOffsetT = 6u16
pub const VT_VALUES_TYPE: VOffsetT = 8u16
pub const VT_VALUES: VOffsetT = 10u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args KeyValueArgs, ) -> WIPOffset<KeyValue<'bldr>>
pub fn key_type(&self) -> Value
pub fn key(&self) -> Table<'a>
pub fn values_type(&self) -> Value
pub fn values(&self) -> Table<'a>
pub fn key_as_null(&self) -> Option<Null<'a>>
pub fn key_as_text(&self) -> Option<Text<'a>>
pub fn key_as_bool(&self) -> Option<Bool<'a>>
pub fn key_as_integer(&self) -> Option<Integer<'a>>
pub fn key_as_float(&self) -> Option<Float<'a>>
pub fn key_as_list(&self) -> Option<List<'a>>
pub fn key_as_document(&self) -> Option<Document<'a>>
pub fn key_as_time(&self) -> Option<Time<'a>>
pub fn values_as_null(&self) -> Option<Null<'a>>
pub fn values_as_text(&self) -> Option<Text<'a>>
pub fn values_as_bool(&self) -> Option<Bool<'a>>
pub fn values_as_integer(&self) -> Option<Integer<'a>>
pub fn values_as_float(&self) -> Option<Float<'a>>
pub fn values_as_list(&self) -> Option<List<'a>>
pub fn values_as_document(&self) -> Option<Document<'a>>
pub fn values_as_time(&self) -> Option<Time<'a>>
Trait Implementations§
Source§impl Verifiable for KeyValue<'_>
 
impl Verifiable for KeyValue<'_>
Source§fn run_verifier(
    v: &mut Verifier<'_, '_>,
    pos: usize,
) -> Result<(), InvalidFlatbuffer>
 
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position 
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for KeyValue<'a>
impl<'a> StructuralPartialEq for KeyValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeyValue<'a>
impl<'a> RefUnwindSafe for KeyValue<'a>
impl<'a> Send for KeyValue<'a>
impl<'a> Sync for KeyValue<'a>
impl<'a> Unpin for KeyValue<'a>
impl<'a> UnwindSafe for KeyValue<'a>
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