pub struct Pkcs11TokenInfo {
pub label: String,
pub manufacturer: String,
pub model: String,
pub serial: String,
pub firmware_version: String,
pub flags: Pkcs11TokenFlags,
}Expand description
PKCS#11 token information.
Fields§
§label: StringToken label (padded to 32 bytes in PKCS#11, trimmed here).
manufacturer: StringManufacturer ID.
model: StringToken model.
serial: StringToken serial number.
firmware_version: StringFirmware version string.
flags: Pkcs11TokenFlagsToken capability flags.
Trait Implementations§
Source§impl Clone for Pkcs11TokenInfo
impl Clone for Pkcs11TokenInfo
Source§fn clone(&self) -> Pkcs11TokenInfo
fn clone(&self) -> Pkcs11TokenInfo
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 Pkcs11TokenInfo
impl Debug for Pkcs11TokenInfo
Source§impl<'de> Deserialize<'de> for Pkcs11TokenInfo
impl<'de> Deserialize<'de> for Pkcs11TokenInfo
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 Freeze for Pkcs11TokenInfo
impl RefUnwindSafe for Pkcs11TokenInfo
impl Send for Pkcs11TokenInfo
impl Sync for Pkcs11TokenInfo
impl Unpin for Pkcs11TokenInfo
impl UnsafeUnpin for Pkcs11TokenInfo
impl UnwindSafe for Pkcs11TokenInfo
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