Struct worker::durable::ListOptions
source · 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