[][src]Struct ucare::group::ListParams

pub struct ListParams {
    pub limit: Option<i32>,
    pub ordering: Option<Ordering>,
    pub from: Option<String>,
}

Holds all possible params for for the list method

Fields

limit: Option<i32>

Specifies preferred amount of groups in a list for a single response. Defaults to 100, while the maximum is 1000

ordering: Option<Ordering>

Specifies the way groups are sorted in a returned list. By default is set to datetime_created.

from: Option<String>

A starting point for filtering group lists. MUST be a datetime value with T used as a separator. Example: "2015-01-02T10:00:00"

Auto Trait Implementations

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.