pub struct AuthorityStateBinding {
pub artifact_hash: String,
pub authority_fingerprints: Vec<String>,
pub bound_at: DateTime<Utc>,
}Expand description
The hash-binding of an artifact to the authority states under
which it was produced (hash-binding requirement): the artifact’s
canonical payload hash plus the fingerprints of every authority on
every verified path.
Fields§
§artifact_hash: StringThe bound artifact’s canonical payload hash (hex).
Fingerprints of authority states the artifact depends on.
bound_at: DateTime<Utc>When the binding was recorded.
Trait Implementations§
Source§impl Clone for AuthorityStateBinding
impl Clone for AuthorityStateBinding
Source§fn clone(&self) -> AuthorityStateBinding
fn clone(&self) -> AuthorityStateBinding
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 moreSource§impl Debug for AuthorityStateBinding
impl Debug for AuthorityStateBinding
Source§impl<'de> Deserialize<'de> for AuthorityStateBinding
impl<'de> Deserialize<'de> for AuthorityStateBinding
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
Auto Trait Implementations§
impl Freeze for AuthorityStateBinding
impl RefUnwindSafe for AuthorityStateBinding
impl Send for AuthorityStateBinding
impl Sync for AuthorityStateBinding
impl Unpin for AuthorityStateBinding
impl UnsafeUnpin for AuthorityStateBinding
impl UnwindSafe for AuthorityStateBinding
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