pub enum DocumentView {
All {
ignored_types: Option<Vec<SecretType>>,
},
Vault(VaultId),
TypeId(SecretType),
Favorites,
Tags(Vec<String>),
Contact {
include_types: Option<Vec<Kind>>,
},
Documents {
folder_id: VaultId,
identifiers: Vec<SecretId>,
},
Websites {
matches: Option<Vec<Url>>,
exact: bool,
},
}Expand description
View of documents in the search index.
Variants§
All
View all documents in the search index.
Fields
§
ignored_types: Option<Vec<SecretType>>List of secret types to ignore.
Vault(VaultId)
View all the documents for a folder.
TypeId(SecretType)
View documents across all vaults by type identifier.
Favorites
View for all favorites.
Tags(Vec<String>)
View documents that have one or more tags.
Contact
Contacts of the given types.
Fields
Documents
Documents with the specific identifiers.
Websites
Secrets with the associated websites.
Implementations§
Source§impl DocumentView
impl DocumentView
Trait Implementations§
Source§impl Clone for DocumentView
impl Clone for DocumentView
Source§fn clone(&self) -> DocumentView
fn clone(&self) -> DocumentView
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 moreSource§impl Debug for DocumentView
impl Debug for DocumentView
Source§impl Default for DocumentView
impl Default for DocumentView
Source§impl<'de> Deserialize<'de> for DocumentView
impl<'de> Deserialize<'de> for DocumentView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentView
impl RefUnwindSafe for DocumentView
impl Send for DocumentView
impl Sync for DocumentView
impl Unpin for DocumentView
impl UnwindSafe for DocumentView
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