pub enum UpdateValue {
Null,
Int(i64),
String(String),
Bool(bool),
Float(f64),
Decimal(Decimal),
Bytes(Vec<u8>),
DateTime(DateTime<Utc>),
Uuid(Uuid),
}Variants§
Null
Int(i64)
String(String)
Bool(bool)
Float(f64)
Decimal(Decimal)
Bytes(Vec<u8>)
DateTime(DateTime<Utc>)
Uuid(Uuid)
Trait Implementations§
Source§impl Clone for UpdateValue
impl Clone for UpdateValue
Source§fn clone(&self) -> UpdateValue
fn clone(&self) -> UpdateValue
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 moreSource§impl Debug for UpdateValue
impl Debug for UpdateValue
Source§impl From<&[u8]> for UpdateValue
impl From<&[u8]> for UpdateValue
Source§fn from(value: &[u8]) -> UpdateValue
fn from(value: &[u8]) -> UpdateValue
Converts to this type from the input type.
Source§impl From<&str> for UpdateValue
impl From<&str> for UpdateValue
Source§fn from(value: &str) -> UpdateValue
fn from(value: &str) -> UpdateValue
Converts to this type from the input type.
Source§impl From<Decimal> for UpdateValue
impl From<Decimal> for UpdateValue
Source§fn from(value: Decimal) -> UpdateValue
fn from(value: Decimal) -> UpdateValue
Converts to this type from the input type.
Source§impl<T> From<Option<T>> for UpdateValuewhere
T: Into<UpdateValue>,
impl<T> From<Option<T>> for UpdateValuewhere
T: Into<UpdateValue>,
Source§fn from(value: Option<T>) -> UpdateValue
fn from(value: Option<T>) -> UpdateValue
Converts to this type from the input type.
Source§impl From<String> for UpdateValue
impl From<String> for UpdateValue
Source§fn from(value: String) -> UpdateValue
fn from(value: String) -> UpdateValue
Converts to this type from the input type.
Source§impl From<Uuid> for UpdateValue
impl From<Uuid> for UpdateValue
Source§fn from(value: Uuid) -> UpdateValue
fn from(value: Uuid) -> UpdateValue
Converts to this type from the input type.
Source§impl From<bool> for UpdateValue
impl From<bool> for UpdateValue
Source§fn from(value: bool) -> UpdateValue
fn from(value: bool) -> UpdateValue
Converts to this type from the input type.
Source§impl From<f64> for UpdateValue
impl From<f64> for UpdateValue
Source§fn from(value: f64) -> UpdateValue
fn from(value: f64) -> UpdateValue
Converts to this type from the input type.
Source§impl From<i64> for UpdateValue
impl From<i64> for UpdateValue
Source§fn from(value: i64) -> UpdateValue
fn from(value: i64) -> UpdateValue
Converts to this type from the input type.
Source§impl PartialEq for UpdateValue
impl PartialEq for UpdateValue
Source§fn eq(&self, other: &UpdateValue) -> bool
fn eq(&self, other: &UpdateValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateValue
Auto Trait Implementations§
impl Freeze for UpdateValue
impl RefUnwindSafe for UpdateValue
impl Send for UpdateValue
impl Sync for UpdateValue
impl Unpin for UpdateValue
impl UnsafeUnpin for UpdateValue
impl UnwindSafe for UpdateValue
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> 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