pub struct ObjectIdentity {
pub physical: PhysicalObjectId,
pub content_checksum: [u8; 32],
}Expand description
Integrity-qualified physical object used inside immutable root-set pages.
Fields§
§physical: PhysicalObjectId§content_checksum: [u8; 32]Implementations§
Source§impl ObjectIdentity
impl ObjectIdentity
pub fn validate(&self) -> Result<(), RootSetRefError>
Trait Implementations§
Source§impl Clone for ObjectIdentity
impl Clone for ObjectIdentity
Source§impl Debug for ObjectIdentity
impl Debug for ObjectIdentity
Source§impl<'de> Deserialize<'de> for ObjectIdentity
impl<'de> Deserialize<'de> for ObjectIdentity
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 ObjectIdentity
Source§impl PartialEq for ObjectIdentity
impl PartialEq for ObjectIdentity
Source§impl Serialize for ObjectIdentity
impl Serialize for ObjectIdentity
impl StructuralPartialEq for ObjectIdentity
Auto Trait Implementations§
impl Freeze for ObjectIdentity
impl RefUnwindSafe for ObjectIdentity
impl Send for ObjectIdentity
impl Sync for ObjectIdentity
impl Unpin for ObjectIdentity
impl UnsafeUnpin for ObjectIdentity
impl UnwindSafe for ObjectIdentity
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