Struct gchdb::Query[][src]

pub struct Query {
    pub chat_type: Option<String>,
    pub owner_id: Option<String>,
    pub group_id: Option<String>,
    pub sender_id: Option<String>,
    pub sender_name: Option<String>,
    pub keyword: Option<String>,
    pub before: Option<i64>,
    pub after: Option<i64>,
    pub offset: Option<u64>,
    pub limit: Option<u32>,
}

Fields

chat_type: Option<String>owner_id: Option<String>group_id: Option<String>sender_id: Option<String>sender_name: Option<String>keyword: Option<String>before: Option<i64>after: Option<i64>offset: Option<u64>limit: Option<u32>

Implementations

impl Query[src]

pub fn get_chat_type(&self) -> &str[src]

pub fn get_owner_id(&self) -> &str[src]

pub fn get_group_id(&self) -> &str[src]

pub fn get_sender_id(&self) -> &str[src]

pub fn get_sender_name(&self) -> &str[src]

pub fn get_offset(&self) -> i64[src]

pub fn get_limit(&self) -> i64[src]

Trait Implementations

impl Clone for Query[src]

impl Debug for Query[src]

impl Default for Query[src]

Auto Trait Implementations

impl RefUnwindSafe for Query

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

impl<T> Fruit for T where
    T: Send + Downcast, 
[src]

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

impl<T> IntoSql for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,