pub struct KeyValue<'a> {
pub _tab: Table<'a>,
}
Expand description
user defined key value pairs to add custom metadata to arrow key namespacing is the responsibility of the user
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> KeyValue<'a>
impl<'a> KeyValue<'a>
pub const VT_KEY: VOffsetT = 4u16
pub const VT_VALUE: VOffsetT = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args KeyValueArgs<'args>
) -> WIPOffset<KeyValue<'bldr>>
pub fn key(&self) -> Option<&'a str>
pub fn value(&self) -> Option<&'a str>
Trait Implementations§
source§impl<'a> PartialEq<KeyValue<'a>> for KeyValue<'a>
impl<'a> PartialEq<KeyValue<'a>> for KeyValue<'a>
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.