pub struct ListOptions {
pub path: LockboxPath,
pub glob: Option<String>,
pub recursive: bool,
pub include_files: bool,
pub include_symlinks: bool,
pub include_directories: bool,
pub limit: Option<usize>,
}Expand description
Options for listing lockbox entries.
Fields§
§path: LockboxPathRoot logical path to list from.
glob: Option<String>Optional glob applied to returned logical paths.
recursive: boolWhether descendants should be included recursively.
include_files: boolWhether regular files should be included.
include_symlinks: boolWhether symlink entries should be included.
include_directories: boolWhether directory entries should be included.
limit: Option<usize>Optional maximum number of entries to return.
Implementations§
Source§impl ListOptions
impl ListOptions
Sourcepub fn new(path: &LockboxPath) -> ListOptions
pub fn new(path: &LockboxPath) -> ListOptions
Create default non-recursive listing options for path.
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§fn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListOptions
impl Debug for ListOptions
impl Eq for ListOptions
Source§impl PartialEq for ListOptions
impl PartialEq for ListOptions
impl StructuralPartialEq for ListOptions
Auto Trait Implementations§
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnsafeUnpin for ListOptions
impl UnwindSafe for ListOptions
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