pub struct CardId(pub String);Expand description
An OpenPGP card identifier (typically derived from the card’s serial number).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for CardId
impl<'de> Deserialize<'de> for CardId
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 CardId
impl RefUnwindSafe for CardId
impl Send for CardId
impl Sync for CardId
impl Unpin for CardId
impl UnsafeUnpin for CardId
impl UnwindSafe for CardId
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