[−][src]Struct etebase::FetchOptions
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,