Struct BackupSecret Copy item path Source pub struct BackupSecret {
pub id: String ,
pub name: String ,
pub kind: String ,
pub value: String ,
pub created_at: i64 ,
pub updated_at: i64 ,
pub seal: Option <BackupSeal >,
}Expand description A secret entry (password, API token, note) in a backup file. Omitting these
from backups would be silent data loss, so a full-vault backup includes them.
The backup file is itself passphrase-encrypted; name and value are also
scrubbed from memory on drop and never printed.
Hex-encoded 32-byte secret id (preserved so the restored row keeps its identity).
Secret kind string (e.g. “Password”, “ApiToken”).
Hex-encoded plaintext secret value.
Unix timestamp when the secret was created.
Unix timestamp of the last update.
Present only for a threshold-sealed secret: the wrapped DEK + OPRF params.
When present, value is the DEK-CIPHERTEXT (hex), not plaintext, and the
value stays gated behind the OPRF quorum after restore (the OPRF root is
never in a backup). #[serde(default)] so older backups decode as None.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Deserialize this value from the given Serde deserializer.
Read more Executes the destructor for this type.
Read more 🔬 This is a nightly-only experimental API. (pin_ergonomics)
Execute the destructor for this type, but different to
Drop::drop, it requires
self
to be pinned.
Read more Serialize this value into the given Serde serializer.
Read more Zero out this object from memory using Rust intrinsics which ensure the
zeroization operation is not “optimized away” by the compiler.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.