pub enum MvtValueRef<'a> {
String(&'a str),
Float(f32),
Double(f64),
Int(i64),
UInt(u64),
SInt(i64),
Bool(bool),
Null,
}Variants§
Implementations§
Source§impl MvtValueRef<'_>
impl MvtValueRef<'_>
pub fn into_owned(self) -> MvtValue
Trait Implementations§
Source§impl<'a> Clone for MvtValueRef<'a>
impl<'a> Clone for MvtValueRef<'a>
Source§fn clone(&self) -> MvtValueRef<'a>
fn clone(&self) -> MvtValueRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for MvtValueRef<'a>
Source§impl Debug for MvtValueRef<'_>
impl Debug for MvtValueRef<'_>
Source§impl<'a> PartialEq for MvtValueRef<'a>
impl<'a> PartialEq for MvtValueRef<'a>
impl<'a> StructuralPartialEq for MvtValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MvtValueRef<'a>
impl<'a> RefUnwindSafe for MvtValueRef<'a>
impl<'a> Send for MvtValueRef<'a>
impl<'a> Sync for MvtValueRef<'a>
impl<'a> Unpin for MvtValueRef<'a>
impl<'a> UnsafeUnpin for MvtValueRef<'a>
impl<'a> UnwindSafe for MvtValueRef<'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