pub struct WordPressObservedAssetFingerprint { /* private fields */ }Expand description
Complete-byte input prepared only after the runtime establishes transport and committed-evidence eligibility.
Implementations§
Source§impl WordPressObservedAssetFingerprint
impl WordPressObservedAssetFingerprint
pub fn new( identity: WordPressComponentIdentity, relative_path: impl Into<String>, byte_length: u64, sha256: [u8; 32], ) -> Result<Self, WordPressAssetFingerprintError>
pub const fn identity(&self) -> &WordPressComponentIdentity
pub fn relative_path(&self) -> &str
pub const fn byte_length(&self) -> u64
pub const fn sha256(&self) -> &[u8; 32]
Trait Implementations§
Source§impl Clone for WordPressObservedAssetFingerprint
impl Clone for WordPressObservedAssetFingerprint
Source§fn clone(&self) -> WordPressObservedAssetFingerprint
fn clone(&self) -> WordPressObservedAssetFingerprint
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 Eq for WordPressObservedAssetFingerprint
Source§impl Ord for WordPressObservedAssetFingerprint
impl Ord for WordPressObservedAssetFingerprint
Source§fn cmp(&self, other: &WordPressObservedAssetFingerprint) -> Ordering
fn cmp(&self, other: &WordPressObservedAssetFingerprint) -> 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 PartialOrd for WordPressObservedAssetFingerprint
impl PartialOrd for WordPressObservedAssetFingerprint
impl StructuralPartialEq for WordPressObservedAssetFingerprint
Auto Trait Implementations§
impl Freeze for WordPressObservedAssetFingerprint
impl RefUnwindSafe for WordPressObservedAssetFingerprint
impl Send for WordPressObservedAssetFingerprint
impl Sync for WordPressObservedAssetFingerprint
impl Unpin for WordPressObservedAssetFingerprint
impl UnsafeUnpin for WordPressObservedAssetFingerprint
impl UnwindSafe for WordPressObservedAssetFingerprint
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more