pub enum VaultOpResult {
Show 17 variants
Ok,
EntryId(i64),
Entry(Box<ServiceEntry>),
EntryList(Vec<ServiceEntrySummary>),
Entries(Vec<ServiceEntry>),
Imported(Vec<i64>),
TotpCode {
code: String,
seconds_remaining: u32,
},
TotpMetadata(Option<ServiceTotpMetadata>),
SshKey(Box<ServiceSshKey>),
SshKeyList(Vec<ServiceSshKeySummary>),
Entity(Box<ServiceEntity>),
EntityList(Vec<ServiceEntity>),
Report(Value),
Status(ServiceVaultStatus),
Biometric(ServiceBiometricStatus),
SyncDevices(Vec<ServiceSyncDeviceInfo>),
SyncStatus(ServiceSyncStatus),
}Expand description
Successful outcome of one VaultOp.
Debug prints the VARIANT NAME ONLY: TotpCode carries a live
two-factor code and Entry/Entries carry plaintext secrets, and
derived Debug would render them into any log line or panic payload.
Variants§
Ok
EntryId(i64)
Entry(Box<ServiceEntry>)
EntryList(Vec<ServiceEntrySummary>)
Entries(Vec<ServiceEntry>)
Imported(Vec<i64>)
Ids created by a bulk import.
TotpCode
TotpMetadata(Option<ServiceTotpMetadata>)
SshKey(Box<ServiceSshKey>)
SshKeyList(Vec<ServiceSshKeySummary>)
Entity(Box<ServiceEntity>)
EntityList(Vec<ServiceEntity>)
Report(Value)
Report-shaped payloads (registry overview, sweep, health, audit verification) as pre-serialized JSON; clients deserialize into the core report types they already link.
Status(ServiceVaultStatus)
Biometric(ServiceBiometricStatus)
SyncDevices(Vec<ServiceSyncDeviceInfo>)
SyncStatus(ServiceSyncStatus)
Trait Implementations§
Source§impl Clone for VaultOpResult
impl Clone for VaultOpResult
Source§fn clone(&self) -> VaultOpResult
fn clone(&self) -> VaultOpResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VaultOpResult
impl Debug for VaultOpResult
Source§impl<'de> Deserialize<'de> for VaultOpResult
impl<'de> Deserialize<'de> for VaultOpResult
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
Source§impl From<VaultOpResult> for ServiceOutcome
impl From<VaultOpResult> for ServiceOutcome
Source§fn from(result: VaultOpResult) -> Self
fn from(result: VaultOpResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VaultOpResult
impl RefUnwindSafe for VaultOpResult
impl Send for VaultOpResult
impl Sync for VaultOpResult
impl Unpin for VaultOpResult
impl UnsafeUnpin for VaultOpResult
impl UnwindSafe for VaultOpResult
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