Skip to main content

Module models

Module models 

Source

Structs§

AccessApprover
The identity of a human approver, denormalized by the server.
AccessPreCheckView
The resolved approval outcome for a cipher, read without submitting a request.
AccessRequestCreateRequest
Request to lease a cipher.
AccessRequestDecisionView
A single decision recorded on an access request’s decision log.
AccessRequestResultView
The result of submitting a cipher-lease request.
AccessRequestSummaryView
A just-submitted access request, as its requester sees it; a lighter sibling of AccessRequestView.
AccessRequestView
An access request, as returned by the server.
CipherAccessStateView
A single-snapshot read of the caller’s access state for one cipher, powering the cipher-view banner and the vault-row badge.

Enums§

AccessApprovalMode
The approval path an access request takes.
AccessBadgeState
The single badge to show for a gated cipher: an active lease outranks an approved request, which outranks a pending one. Has no unavailable or expired state, since the access-state response covers only the caller.
AccessDecider
Who made a decision on an access request.
AccessDecisionVerdict
An approver’s verdict on an access request decision.
AccessRequestStatus
The lifecycle state of an access request.

Functions§

positive_u32 🔒
Reads an optional wire-side duration, mapping absent, zero, and negative alike onto None so the caller applies its fallback.