[][src]Struct etebase::FetchOptions

pub struct FetchOptions<'a> { /* fields omitted */ }

Configuration options for data fetching

Implementations

impl<'a> FetchOptions<'a>[src]

pub fn new() -> Self[src]

Return a new fetch options object

pub fn limit(mut self: Self, limit: usize) -> Self[src]

Limit the amount of items returned

pub fn prefetch(mut self: Self, prefetch: &'a PrefetchOption) -> Self[src]

How much data to prefetech

pub fn with_collection(mut self: Self, with_collection: bool) -> Self[src]

Used by crate::managers::ItemManager functions to toggle fetching the collection's item

pub fn iterator(mut self: Self, iterator: Option<&'a str>) -> Self[src]

The current iterator to start from (when iterating lists)

pub fn stoken(mut self: Self, stoken: Option<&'a str>) -> Self[src]

The sync token to fetch with

Auto Trait Implementations

impl<'a> RefUnwindSafe for FetchOptions<'a>[src]

impl<'a> Send for FetchOptions<'a>[src]

impl<'a> Sync for FetchOptions<'a>[src]

impl<'a> Unpin for FetchOptions<'a>[src]

impl<'a> UnwindSafe for FetchOptions<'a>[src]

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.