pub struct CredValue {
pub secret: Vec<u8>,
pub comment: Option<String>,
pub creation_date: Option<String>,
}Available on crate feature
sample only.Expand description
The stored data for a credential
Fields§
§secret: Vec<u8>The stored secret.
comment: Option<String>The comment attribute, if any.
creation_date: Option<String>The creation date attribute, if any, as an RFC 2822 date.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CredValue
impl<'de> Deserialize<'de> for CredValue
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
Auto Trait Implementations§
impl Forget for CredValue
impl Freeze for CredValue
impl Move for CredValue
impl RefUnwindSafe for CredValue
impl Send for CredValue
impl Sync for CredValue
impl Unpin for CredValue
impl UnsafeUnpin for CredValue
impl UnwindSafe for CredValue
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