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.