pub struct Nonce {
pub nonce_id: Vec<u8>,
pub nonce_value: Vec<u8>,
}Expand description
See KMIP 1.2 sefction 2.1.14 Nonce.
Fields§
§nonce_id: Vec<u8>§nonce_value: Vec<u8>Implementations§
Source§impl Nonce
impl Nonce
pub const TAG: Tag
pub const NONCE_ID_TAG: Tag
pub const NONCE_VALUE_TAG: Tag
pub fn fast_scan_opt( scanner: &mut FastScanner<'_>, ) -> Result<Option<Self>, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
Trait Implementations§
impl Eq for Nonce
impl StructuralPartialEq for Nonce
Auto Trait Implementations§
impl Forget for Nonce
impl Freeze for Nonce
impl RefUnwindSafe for Nonce
impl Send for Nonce
impl Sync for Nonce
impl Unpin for Nonce
impl UnsafeUnpin for Nonce
impl UnwindSafe for Nonce
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