pub struct ListOptions<'a> { /* private fields */ }
Implementations§
source§impl<'a> ListOptions<'a>
impl<'a> ListOptions<'a>
sourcepub fn start(self, val: &'a str) -> Self
pub fn start(self, val: &'a str) -> Self
Key at which the list results should start, inclusive.
sourcepub fn prefix(self, val: &'a str) -> Self
pub fn prefix(self, val: &'a str) -> Self
Restricts results to only include key-value pairs whose keys begin with the prefix.
Trait Implementations§
source§impl<'a> Default for ListOptions<'a>
impl<'a> Default for ListOptions<'a>
source§fn default() -> ListOptions<'a>
fn default() -> ListOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ListOptions<'a>
impl<'a> RefUnwindSafe for ListOptions<'a>
impl<'a> Send for ListOptions<'a>
impl<'a> Sync for ListOptions<'a>
impl<'a> Unpin for ListOptions<'a>
impl<'a> UnwindSafe for ListOptions<'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