Enum bonsaidb_core::key::KeyAttibuteValue
source · pub enum KeyAttibuteValue {
}
Expand description
A value used as part of KeyVisitor::visit_composite_attribute
.
Variants§
U8(u8)
An u8
value.
I8(i8)
An i8
value.
U16(u16)
An u16
value.
I16(i16)
An i16
value.
U32(u32)
An u32
value.
I32(i32)
An i32
value.
U64(u64)
An u64
value.
I64(i64)
An i64
value.
U128(u128)
An u128
value.
I128(i128)
An i128
value.
Usize(usize)
An usize
value.
Isize(isize)
An isize
value.
Bool(bool)
A bool
value.
Str(Cow<'static, str>)
A string value.
Bytes(Cow<'static, [u8]>)
A byte array value.
Trait Implementations§
source§impl Clone for KeyAttibuteValue
impl Clone for KeyAttibuteValue
source§fn clone(&self) -> KeyAttibuteValue
fn clone(&self) -> KeyAttibuteValue
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 KeyAttibuteValue
impl Debug for KeyAttibuteValue
source§impl<'de> Deserialize<'de> for KeyAttibuteValue
impl<'de> Deserialize<'de> for KeyAttibuteValue
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 From<&'static [u8]> for KeyAttibuteValue
impl From<&'static [u8]> for KeyAttibuteValue
source§impl From<&'static str> for KeyAttibuteValue
impl From<&'static str> for KeyAttibuteValue
source§impl From<String> for KeyAttibuteValue
impl From<String> for KeyAttibuteValue
source§impl From<bool> for KeyAttibuteValue
impl From<bool> for KeyAttibuteValue
source§impl From<i128> for KeyAttibuteValue
impl From<i128> for KeyAttibuteValue
source§impl From<i16> for KeyAttibuteValue
impl From<i16> for KeyAttibuteValue
source§impl From<i32> for KeyAttibuteValue
impl From<i32> for KeyAttibuteValue
source§impl From<i64> for KeyAttibuteValue
impl From<i64> for KeyAttibuteValue
source§impl From<i8> for KeyAttibuteValue
impl From<i8> for KeyAttibuteValue
source§impl From<isize> for KeyAttibuteValue
impl From<isize> for KeyAttibuteValue
source§impl From<u128> for KeyAttibuteValue
impl From<u128> for KeyAttibuteValue
source§impl From<u16> for KeyAttibuteValue
impl From<u16> for KeyAttibuteValue
source§impl From<u32> for KeyAttibuteValue
impl From<u32> for KeyAttibuteValue
source§impl From<u64> for KeyAttibuteValue
impl From<u64> for KeyAttibuteValue
source§impl From<u8> for KeyAttibuteValue
impl From<u8> for KeyAttibuteValue
source§impl From<usize> for KeyAttibuteValue
impl From<usize> for KeyAttibuteValue
source§impl PartialEq for KeyAttibuteValue
impl PartialEq for KeyAttibuteValue
source§fn eq(&self, other: &KeyAttibuteValue) -> bool
fn eq(&self, other: &KeyAttibuteValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeyAttibuteValue
impl Serialize for KeyAttibuteValue
impl Eq for KeyAttibuteValue
impl StructuralEq for KeyAttibuteValue
impl StructuralPartialEq for KeyAttibuteValue
Auto Trait Implementations§
impl RefUnwindSafe for KeyAttibuteValue
impl Send for KeyAttibuteValue
impl Sync for KeyAttibuteValue
impl Unpin for KeyAttibuteValue
impl UnwindSafe for KeyAttibuteValue
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