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: u16 = 4u16
pub const VT_VALUE: u16 = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> KeyValue<'a>
pub fn create<'bldr, 'args, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args KeyValueArgs<'args>,
) -> WIPOffset<KeyValue<'bldr>>where
'bldr: 'args,
'args: 'mut_bldr,
pub fn key(&self) -> Option<&'a str>
pub fn value(&self) -> Option<&'a str>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request