Struct etebase::FetchOptions
source · pub struct FetchOptions<'a> { /* private fields */ }
Expand description
Configuration options for data fetching
Implementations§
source§impl<'a> FetchOptions<'a>
impl<'a> FetchOptions<'a>
sourcepub fn prefetch(self, prefetch: &'a PrefetchOption) -> Self
pub fn prefetch(self, prefetch: &'a PrefetchOption) -> Self
How much data to prefetech
sourcepub fn with_collection(self, with_collection: bool) -> Self
pub fn with_collection(self, with_collection: bool) -> Self
Used by ItemManager
functions to toggle fetching the collection’s item
Trait Implementations§
source§impl<'a> Default for FetchOptions<'a>
impl<'a> Default for FetchOptions<'a>
source§fn default() -> FetchOptions<'a>
fn default() -> FetchOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FetchOptions<'a>
impl<'a> Send for FetchOptions<'a>
impl<'a> Sync for FetchOptions<'a>
impl<'a> Unpin for FetchOptions<'a>
impl<'a> UnwindSafe for FetchOptions<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more