[][src]Enum rsfbclient::Param

pub enum Param {
    Text(String),
    Integer(i64),
    Floating(f64),
    Timestamp(ISC_TIMESTAMP),
    Null,
    Binary(Vec<u8>),
    Boolean(bool),
}

Sql parameter data

Variants

Text(String)
Integer(i64)
Floating(f64)
Timestamp(ISC_TIMESTAMP)
Null
Binary(Vec<u8>)
Boolean(bool)

Only works in fb >= 3.0

Implementations

impl Param[src]

pub fn sql_type_and_subtype(&self) -> (u32, u32)[src]

Return the sql type to coerce the data

pub fn is_null(&self) -> bool[src]

Return true if null

Trait Implementations

impl<T> From<T> for Param where
    T: IntoParam
[src]

Implement From / Into conversions

Auto Trait Implementations

impl RefUnwindSafe for Param

impl Send for Param

impl Sync for Param

impl Unpin for Param

impl UnwindSafe for Param

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.