pub struct VaultListFilter<'a> {Show 13 fields
pub context_id: Option<&'a str>,
pub target_origin_prefix: Option<&'a str>,
pub target_did: Option<&'a str>,
pub target_ios_bundle_id: Option<&'a str>,
pub target_android_package: Option<&'a str>,
pub secret_kind: Option<SecretKind>,
pub tag: Option<&'a str>,
pub used_since: Option<&'a str>,
pub never_used: Option<bool>,
pub expires_before: Option<&'a str>,
pub breached: Option<bool>,
pub status: Option<VaultStatus>,
pub any_status: bool,
}Expand description
Filter criteria for list_vault_entries. All populated fields are
AND-combined. Matches the payload.schema.json of vault/list/0.1
minus pagination (cursor / page_size), which is applied in the
route layer rather than the store helper.
Fields§
§context_id: Option<&'a str>§target_origin_prefix: Option<&'a str>§target_did: Option<&'a str>§target_ios_bundle_id: Option<&'a str>§target_android_package: Option<&'a str>§secret_kind: Option<SecretKind>§tag: Option<&'a str>§used_since: Option<&'a str>§never_used: Option<bool>When Some(true), return only entries with no lastUsedAt. Mutually
exclusive with used_since at the caller level.
expires_before: Option<&'a str>§breached: Option<bool>§status: Option<VaultStatus>Archival-lifecycle filter. None (the default) returns only
VaultStatus::Active entries — archived and (soft-)deleted entries
are hidden from normal listing. Pass Some(status) to list a specific
state (e.g. the trash view via Some(Deleted)), or use
VaultListFilter::any_status to include every state.
any_status: boolWhen true, the status filter is ignored and entries of every
lifecycle state are returned (the explicit “show all” view). Defaults
to false so callers get the Active-only behaviour for free.
Trait Implementations§
Source§impl<'a> Debug for VaultListFilter<'a>
impl<'a> Debug for VaultListFilter<'a>
Source§impl<'a> Default for VaultListFilter<'a>
impl<'a> Default for VaultListFilter<'a>
Source§fn default() -> VaultListFilter<'a>
fn default() -> VaultListFilter<'a>
Auto Trait Implementations§
impl<'a> Freeze for VaultListFilter<'a>
impl<'a> RefUnwindSafe for VaultListFilter<'a>
impl<'a> Send for VaultListFilter<'a>
impl<'a> Sync for VaultListFilter<'a>
impl<'a> Unpin for VaultListFilter<'a>
impl<'a> UnsafeUnpin for VaultListFilter<'a>
impl<'a> UnwindSafe for VaultListFilter<'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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
Source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
Source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
T.