pub struct BlobRefRecord {
pub content_hash: [u8; 32],
pub original_uri: String,
pub byte_len: u64,
pub inlined: bool,
}Expand description
one row of the 0x14 table. content_hash is the raw sha-256 of the
original blob bytes (a catalog citation can be proven across the
reference boundary); original_uri is a reopen hint; inlined says
whether the bytes live inside this .urna.
Fields§
§content_hash: [u8; 32]§original_uri: String§byte_len: u64§inlined: boolTrait Implementations§
Source§impl Clone for BlobRefRecord
impl Clone for BlobRefRecord
Source§impl Debug for BlobRefRecord
impl Debug for BlobRefRecord
impl Eq for BlobRefRecord
Source§impl PartialEq for BlobRefRecord
impl PartialEq for BlobRefRecord
impl StructuralPartialEq for BlobRefRecord
Auto Trait Implementations§
impl Freeze for BlobRefRecord
impl RefUnwindSafe for BlobRefRecord
impl Send for BlobRefRecord
impl Sync for BlobRefRecord
impl Unpin for BlobRefRecord
impl UnsafeUnpin for BlobRefRecord
impl UnwindSafe for BlobRefRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.