#[repr(transparent)]pub struct KeySerialId(pub i32);
Expand description
Primary kernel identifier for a key or keyring.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
Source§impl Clone for KeySerialId
impl Clone for KeySerialId
Source§fn clone(&self) -> KeySerialId
fn clone(&self) -> KeySerialId
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 moreSource§impl Debug for KeySerialId
impl Debug for KeySerialId
Source§impl From<KeySerialId> for i32
Allow easy conversion from i32 to KeySerialId
impl From<KeySerialId> for i32
Allow easy conversion from i32 to KeySerialId
Source§fn from(id: KeySerialId) -> i32
fn from(id: KeySerialId) -> i32
Converts to this type from the input type.
Source§impl From<i32> for KeySerialId
Direct conversion
impl From<i32> for KeySerialId
Direct conversion
Source§impl PartialEq for KeySerialId
impl PartialEq for KeySerialId
Source§impl TryFrom<i64> for KeySerialId
Allow easy conversion from u64 to KeySerialId
impl TryFrom<i64> for KeySerialId
Allow easy conversion from u64 to KeySerialId
impl Copy for KeySerialId
impl Eq for KeySerialId
impl StructuralPartialEq for KeySerialId
Auto Trait Implementations§
impl Freeze for KeySerialId
impl RefUnwindSafe for KeySerialId
impl Send for KeySerialId
impl Sync for KeySerialId
impl Unpin for KeySerialId
impl UnwindSafe for KeySerialId
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