pub struct SerialNumber(/* private fields */);
Expand description
Wrapper type to support Serial Number Arithmetics as defined in RFC 1982. The signaure fields (expireation, inception) defined in RFC 4034, section 3.1.5 are serial numbers.
Implementations§
Trait Implementations§
Source§impl Add for SerialNumber
impl Add for SerialNumber
Serial Number Addition, see RFC 1982, section 3.1
The result is a wrapping add.
Source§impl Clone for SerialNumber
impl Clone for SerialNumber
Source§fn clone(&self) -> SerialNumber
fn clone(&self) -> SerialNumber
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 SerialNumber
impl Debug for SerialNumber
Source§impl PartialEq for SerialNumber
impl PartialEq for SerialNumber
Source§impl PartialOrd for SerialNumber
impl PartialOrd for SerialNumber
Serial Number Comparison, see RFC 1982, section 3.2
impl Copy for SerialNumber
impl StructuralPartialEq for SerialNumber
Auto Trait Implementations§
impl Freeze for SerialNumber
impl RefUnwindSafe for SerialNumber
impl Send for SerialNumber
impl Sync for SerialNumber
impl Unpin for SerialNumber
impl UnwindSafe for SerialNumber
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