Enum rkv::value::OwnedValue
source · [−]pub enum OwnedValue {
Bool(bool),
U64(u64),
I64(i64),
F64(f64),
Instant(i64),
Uuid(Uuid),
Str(String),
Json(String),
Blob(Vec<u8>),
}
Variants
Bool(bool)
U64(u64)
I64(i64)
F64(f64)
Instant(i64)
Uuid(Uuid)
Str(String)
Json(String)
Blob(Vec<u8>)
Trait Implementations
sourceimpl Clone for OwnedValue
impl Clone for OwnedValue
sourcefn clone(&self) -> OwnedValue
fn clone(&self) -> OwnedValue
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OwnedValue
impl Debug for OwnedValue
sourceimpl<'v> From<&'v OwnedValue> for Value<'v>
impl<'v> From<&'v OwnedValue> for Value<'v>
sourcefn from(value: &OwnedValue) -> Value<'_>
fn from(value: &OwnedValue) -> Value<'_>
Converts to this type from the input type.
sourceimpl<'v> From<&'v Value<'v>> for OwnedValue
impl<'v> From<&'v Value<'v>> for OwnedValue
sourcefn from(value: &Value<'_>) -> OwnedValue
fn from(value: &Value<'_>) -> OwnedValue
Converts to this type from the input type.
sourceimpl PartialEq<OwnedValue> for OwnedValue
impl PartialEq<OwnedValue> for OwnedValue
sourcefn eq(&self, other: &OwnedValue) -> bool
fn eq(&self, other: &OwnedValue) -> bool
impl StructuralPartialEq for OwnedValue
Auto Trait Implementations
impl RefUnwindSafe for OwnedValue
impl Send for OwnedValue
impl Sync for OwnedValue
impl Unpin for OwnedValue
impl UnwindSafe for OwnedValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more