pub struct KeyValue {
pub key: Option<String>,
pub value: Option<String>,
}Expand description
user defined key value pairs to add custom metadata to arrow key namespacing is the responsibility of the user
Generated from these locations:
- Table
KeyValuein the fileSchema.fbs:475
Fields§
§key: Option<String>The field key in the table KeyValue
value: Option<String>The field value in the table KeyValue
Implementations§
Source§impl KeyValue
impl KeyValue
Sourcepub fn builder() -> KeyValueBuilder<()>
pub fn builder() -> KeyValueBuilder<()>
Creates a KeyValueBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_key: impl WriteAsOptional<Offset<str>>, field_value: impl WriteAsOptional<Offset<str>>, ) -> Offset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyValue
impl<'de> Deserialize<'de> for KeyValue
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 Ord for KeyValue
impl Ord for KeyValue
Source§impl PartialOrd for KeyValue
impl PartialOrd for KeyValue
Source§impl<'a> TryFrom<KeyValueRef<'a>> for KeyValue
impl<'a> TryFrom<KeyValueRef<'a>> for KeyValue
impl Eq for KeyValue
impl StructuralPartialEq for KeyValue
impl VectorWrite<Offset<KeyValue>> for KeyValue
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<Offset<KeyValue>> for KeyValue
impl WriteAsOffset<KeyValue> for KeyValue
impl<T0: WriteAsOptional<Offset<str>>, T1: WriteAsOptional<Offset<str>>> WriteAsOffset<KeyValue> for KeyValueBuilder<(T0, T1)>
impl WriteAsOptional<Offset<KeyValue>> for KeyValue
Auto Trait Implementations§
impl Freeze for KeyValue
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnwindSafe for KeyValue
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more