pub struct IntegrityJobId(/* private fields */);Expand description
Opaque lookup identity for one retained Deep inspection job.
Implementations§
Source§impl IntegrityJobId
impl IntegrityJobId
Sourcepub fn try_from_bytes(bytes: [u8; 32]) -> Result<Self, IntegrityJobError>
pub fn try_from_bytes(bytes: [u8; 32]) -> Result<Self, IntegrityJobError>
Admit one nonzero current-form lookup identity.
§Errors
Returns IntegrityJobError::CorruptProgressRecord when bytes is
the reserved all-zero identity.
Sourcepub fn try_from_hex(value: &str) -> Result<Self, IntegrityJobError>
pub fn try_from_hex(value: &str) -> Result<Self, IntegrityJobError>
Decode one exact lowercase or uppercase hexadecimal job identity.
§Errors
Returns IntegrityJobError::InvalidJobId unless value contains
exactly 64 hexadecimal characters and decodes to a nonzero identity.
Trait Implementations§
Source§impl CandidType for IntegrityJobId
impl CandidType for IntegrityJobId
Source§impl Clone for IntegrityJobId
impl Clone for IntegrityJobId
Source§fn clone(&self) -> IntegrityJobId
fn clone(&self) -> IntegrityJobId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntegrityJobId
Source§impl Debug for IntegrityJobId
impl Debug for IntegrityJobId
Source§impl<'de> Deserialize<'de> for IntegrityJobId
impl<'de> Deserialize<'de> for IntegrityJobId
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
impl Eq for IntegrityJobId
Source§impl Hash for IntegrityJobId
impl Hash for IntegrityJobId
Source§impl Ord for IntegrityJobId
impl Ord for IntegrityJobId
Source§fn cmp(&self, other: &IntegrityJobId) -> Ordering
fn cmp(&self, other: &IntegrityJobId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntegrityJobId
impl PartialEq for IntegrityJobId
Source§impl PartialOrd for IntegrityJobId
impl PartialOrd for IntegrityJobId
impl StructuralPartialEq for IntegrityJobId
Auto Trait Implementations§
impl Freeze for IntegrityJobId
impl RefUnwindSafe for IntegrityJobId
impl Send for IntegrityJobId
impl Sync for IntegrityJobId
impl Unpin for IntegrityJobId
impl UnsafeUnpin for IntegrityJobId
impl UnwindSafe for IntegrityJobId
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