pub enum ShipIdStatus {
Match,
Mismatch {
receipt: String,
certificate: String,
},
Unknown,
}Expand description
Ship ID comparison outcome.
Variants§
Match
Receipt’s ship_id equals certificate’s identity.ship_id.
Mismatch
Receipt’s ship_id does not equal certificate’s identity.ship_id.
Unknown
Receipt has no ship_id (pre-v0.9.0 or a non-ship actor URI). Treated
as a verification failure by ok(); callers who accept legacy
receipts should inspect the status explicitly.
Trait Implementations§
Source§impl Clone for ShipIdStatus
impl Clone for ShipIdStatus
Source§fn clone(&self) -> ShipIdStatus
fn clone(&self) -> ShipIdStatus
Returns a duplicate 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 ShipIdStatus
impl Debug for ShipIdStatus
Source§impl PartialEq for ShipIdStatus
impl PartialEq for ShipIdStatus
impl Eq for ShipIdStatus
impl StructuralPartialEq for ShipIdStatus
Auto Trait Implementations§
impl Freeze for ShipIdStatus
impl RefUnwindSafe for ShipIdStatus
impl Send for ShipIdStatus
impl Sync for ShipIdStatus
impl Unpin for ShipIdStatus
impl UnsafeUnpin for ShipIdStatus
impl UnwindSafe for ShipIdStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.