[][src]Struct ucare::file::ListParams

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

Holds all possible params for for the list method

Fields

removed: Option<bool>

Is set to true if only include removed files in the response, otherwise existing files are included. Defaults to false.

stored: Option<bool>

Is set to true if only include files that were stored. Set to false to include only temporary files. The default is unset: both stored and not stored files are returned

limit: Option<i32>

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

ordering: Option<Ordering>

Specifies the way files are sorted in a returned list. By default is set to datetime_uploaded.

from: Option<String>

Specifies a starting point for filtering files. The value depends on your ordering parameter value.

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.