Type Definition mybatis_sql::ops::Value
source · [−]pub type Value = Bson;
Expand description
proxy rbson::Document struct,support Deserializer, Serializer use Cow Optimize unnecessary clones This structure has a certain amount of computing power
Trait Implementations
sourceimpl AsProxy for Value
impl AsProxy for Value
fn i32(&self) -> i32
fn i64(&self) -> i64
fn u32(&self) -> u32
fn u64(&self) -> u64
fn f64(&self) -> f64
fn str(&self) -> &str
fn string(&self) -> String
fn cast_string(&self) -> String
fn cast_i64(&self) -> i64
fn cast_u64(&self) -> u64
fn cast_f64(&self) -> f64
fn bool(&self) -> bool
fn is_empty(&self) -> bool
fn is_null(&self) -> bool
fn is_array(&self) -> bool
fn array(&self) -> Option<&Array>
fn is_document(&self) -> bool
fn is_object(&self) -> bool
fn object(&self) -> Option<&Document>
sourceimpl<I> OpsIndexMut<I> for Value where
I: Index,
impl<I> OpsIndexMut<I> for Value where
I: Index,
sourceimpl PartialOrd<&'_ &'_ Bson> for &Value
impl PartialOrd<&'_ &'_ Bson> for &Value
fn op_partial_cmp(&self, other: &&&Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<&'_ &'_ Bson> for Value
impl PartialOrd<&'_ &'_ Bson> for Value
fn op_partial_cmp(&self, other: &&&Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<&'_ Bson> for &Value
impl PartialOrd<&'_ Bson> for &Value
fn op_partial_cmp(&self, other: &&Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<&'_ Bson> for Value
impl PartialOrd<&'_ Bson> for Value
fn op_partial_cmp(&self, other: &&Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<Bson> for Value
impl PartialOrd<Bson> for Value
fn op_partial_cmp(&self, other: &Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<Bson> for &Value
impl PartialOrd<Bson> for &Value
fn op_partial_cmp(&self, other: &Value) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<bool> for Value
impl PartialOrd<bool> for Value
fn op_partial_cmp(&self, other: &bool) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<bool> for &'a Value
impl<'a> PartialOrd<bool> for &'a Value
fn op_partial_cmp(&self, other: &bool) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<f32> for Value
impl PartialOrd<f32> for Value
fn op_partial_cmp(&self, other: &f32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<f32> for &'a Value
impl<'a> PartialOrd<f32> for &'a Value
fn op_partial_cmp(&self, other: &f32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<f64> for Value
impl PartialOrd<f64> for Value
fn op_partial_cmp(&self, other: &f64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<f64> for &'a Value
impl<'a> PartialOrd<f64> for &'a Value
fn op_partial_cmp(&self, other: &f64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<i16> for Value
impl PartialOrd<i16> for Value
fn op_partial_cmp(&self, other: &i16) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<i16> for &'a Value
impl<'a> PartialOrd<i16> for &'a Value
fn op_partial_cmp(&self, other: &i16) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<i32> for Value
impl PartialOrd<i32> for Value
fn op_partial_cmp(&self, other: &i32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<i32> for &'a Value
impl<'a> PartialOrd<i32> for &'a Value
fn op_partial_cmp(&self, other: &i32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<i64> for Value
impl PartialOrd<i64> for Value
fn op_partial_cmp(&self, other: &i64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<i64> for &'a Value
impl<'a> PartialOrd<i64> for &'a Value
fn op_partial_cmp(&self, other: &i64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<i8> for Value
impl PartialOrd<i8> for Value
fn op_partial_cmp(&self, other: &i8) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<i8> for &'a Value
impl<'a> PartialOrd<i8> for &'a Value
fn op_partial_cmp(&self, other: &i8) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<isize> for Value
impl PartialOrd<isize> for Value
fn op_partial_cmp(&self, other: &isize) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<isize> for &'a Value
impl<'a> PartialOrd<isize> for &'a Value
fn op_partial_cmp(&self, other: &isize) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<u16> for Value
impl PartialOrd<u16> for Value
fn op_partial_cmp(&self, other: &u16) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<u16> for &'a Value
impl<'a> PartialOrd<u16> for &'a Value
fn op_partial_cmp(&self, other: &u16) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<u32> for Value
impl PartialOrd<u32> for Value
fn op_partial_cmp(&self, other: &u32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<u32> for &'a Value
impl<'a> PartialOrd<u32> for &'a Value
fn op_partial_cmp(&self, other: &u32) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<u64> for Value
impl PartialOrd<u64> for Value
fn op_partial_cmp(&self, other: &u64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<u64> for &'a Value
impl<'a> PartialOrd<u64> for &'a Value
fn op_partial_cmp(&self, other: &u64) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<u8> for Value
impl PartialOrd<u8> for Value
fn op_partial_cmp(&self, other: &u8) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> PartialOrd<u8> for &'a Value
impl<'a> PartialOrd<u8> for &'a Value
fn op_partial_cmp(&self, other: &u8) -> Option<Ordering>
sourcefn op_lt(&self, other: &Rhs) -> bool
fn op_lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
sourcefn op_le(&self, other: &Rhs) -> bool
fn op_le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more