pub struct ResourceSetKey {
pub source_digest: [u8; 32],
pub artifact_digest: [u8; 32],
}Expand description
Stable identity for one immutable resource set plus one compiler artifact.
Fields§
§source_digest: [u8; 32]Content-verified immutable source identity.
artifact_digest: [u8; 32]Neutral compiler artifact identity.
Trait Implementations§
Source§impl Clone for ResourceSetKey
impl Clone for ResourceSetKey
Source§fn clone(&self) -> ResourceSetKey
fn clone(&self) -> ResourceSetKey
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 ResourceSetKey
Source§impl Debug for ResourceSetKey
impl Debug for ResourceSetKey
impl Eq for ResourceSetKey
Source§impl Hash for ResourceSetKey
impl Hash for ResourceSetKey
Source§impl Ord for ResourceSetKey
impl Ord for ResourceSetKey
Source§fn cmp(&self, other: &ResourceSetKey) -> Ordering
fn cmp(&self, other: &ResourceSetKey) -> 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 ResourceSetKey
impl PartialEq for ResourceSetKey
Source§impl PartialOrd for ResourceSetKey
impl PartialOrd for ResourceSetKey
impl StructuralPartialEq for ResourceSetKey
Auto Trait Implementations§
impl Freeze for ResourceSetKey
impl RefUnwindSafe for ResourceSetKey
impl Send for ResourceSetKey
impl Sync for ResourceSetKey
impl Unpin for ResourceSetKey
impl UnsafeUnpin for ResourceSetKey
impl UnwindSafe for ResourceSetKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.