pub struct FolderScope {
pub source_id: String,
pub include_subfolders: bool,
}Expand description
One folder restriction: a registered source, and whether nested folders count.
Fields§
§source_id: String§include_subfolders: boolfalse restricts to files sitting directly in the folder
(RFC-045 §6.3’s “folder only”).
Trait Implementations§
Source§impl Clone for FolderScope
impl Clone for FolderScope
Source§impl Debug for FolderScope
impl Debug for FolderScope
impl Eq for FolderScope
Source§impl PartialEq for FolderScope
impl PartialEq for FolderScope
impl StructuralPartialEq for FolderScope
Auto Trait Implementations§
impl Freeze for FolderScope
impl RefUnwindSafe for FolderScope
impl Send for FolderScope
impl Sync for FolderScope
impl Unpin for FolderScope
impl UnsafeUnpin for FolderScope
impl UnwindSafe for FolderScope
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