pub struct RequestEntriesBuilder { /* private fields */ }Expand description
Builder for RequestEntries.
Implementations§
Source§impl RequestEntriesBuilder
impl RequestEntriesBuilder
Sourcepub fn cache_id<VALUE: Into<CacheId>>(&mut self, value: VALUE) -> &mut Self
pub fn cache_id<VALUE: Into<CacheId>>(&mut self, value: VALUE) -> &mut Self
ID of cache to get entries from.
Sourcepub fn skip_count<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn skip_count<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Number of records to skip.
Sourcepub fn page_size<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn page_size<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Number of records to fetch.
Sourcepub fn path_filter<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn path_filter<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
If present, only return the entries containing this substring in the path
Sourcepub fn build(&self) -> Result<RequestEntries, RequestEntriesBuilderError>
pub fn build(&self) -> Result<RequestEntries, RequestEntriesBuilderError>
Trait Implementations§
Source§impl Clone for RequestEntriesBuilder
impl Clone for RequestEntriesBuilder
Source§fn clone(&self) -> RequestEntriesBuilder
fn clone(&self) -> RequestEntriesBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RequestEntriesBuilder
impl RefUnwindSafe for RequestEntriesBuilder
impl Send for RequestEntriesBuilder
impl Sync for RequestEntriesBuilder
impl Unpin for RequestEntriesBuilder
impl UnsafeUnpin for RequestEntriesBuilder
impl UnwindSafe for RequestEntriesBuilder
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