Struct credstash::CredstashItem
source · pub struct CredstashItem {
pub hmac_key: Key,
pub credential_name: String,
pub credential_value: Vec<u8>,
pub hmac_digest: Vec<u8>,
pub digest_algorithm: Algorithm,
pub version: String,
pub comment: Option<String>,
}
Expand description
Represents the Decrypted row for the credential_name
Fields§
§hmac_key: Key
HMAC signing key with digest algorithm and the key value
credential_name: String
Credential name which has been stored.
credential_value: Vec<u8>
Decrypted credential value. This corresponds with the credential_name
.
hmac_digest: Vec<u8>
HMAC Digest of the encrypted text
digest_algorithm: Algorithm
Digest algorithm used for computation of HMAC
version: String
The version of the CredstashItem
comment: Option<String>
Optional comment for the CredstashItem
Trait Implementations§
source§impl Clone for CredstashItem
impl Clone for CredstashItem
source§fn clone(&self) -> CredstashItem
fn clone(&self) -> CredstashItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for CredstashItem
impl Send for CredstashItem
impl Sync for CredstashItem
impl Unpin for CredstashItem
impl UnwindSafe for CredstashItem
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