[−][src]Enum gluesql::data::Value
Variants
Bool(bool)
I64(i64)
F64(f64)
Str(String)
Implementations
impl Value
[src]
pub fn from_expr(
data_type: &DataType,
nullable: bool,
expr: &Expr
) -> Result<Self>
[src]
data_type: &DataType,
nullable: bool,
expr: &Expr
) -> Result<Self>
pub fn from_data_type(
data_type: &DataType,
nullable: bool,
literal: &AstValue
) -> Result<Self>
[src]
data_type: &DataType,
nullable: bool,
literal: &AstValue
) -> Result<Self>
pub fn clone_by(&self, literal: &AstValue) -> Result<Self>
[src]
pub fn add(&self, other: &Value) -> Result<Value>
[src]
pub fn subtract(&self, other: &Value) -> Result<Value>
[src]
pub fn multiply(&self, other: &Value) -> Result<Value>
[src]
pub fn divide(&self, other: &Value) -> Result<Value>
[src]
pub fn is_some(&self) -> bool
[src]
pub fn unary_plus(&self) -> Result<Value>
[src]
pub fn unary_minus(&self) -> Result<Value>
[src]
Trait Implementations
impl Clone for Value
[src]
impl Debug for Value
[src]
impl<'de> Deserialize<'de> for Value
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Value> for Value
[src]
impl PartialEq<Value> for Value
[src]
impl PartialOrd<Value> for Value
[src]
fn partial_cmp(&self, other: &Value) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<Value> for Value
[src]
fn partial_cmp(&self, other: &AstValue) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Value
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'_> TryFrom<&'_ Value> for Value
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(literal: &AstValue) -> Result<Self>
[src]
impl<'_> TryInto<GroupKey> for &'_ Value
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<GroupKey>
[src]
impl TryInto<GroupKey> for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,