pub struct PayloadOrigin {
pub name: String,
pub version: String,
pub digest: String,
pub realm: String,
pub layer: String,
}Expand description
Where one payload of a composition came from and what it claims to be. The identity the collision rule is stated over (REQ-COMPOSEEXPORT-001 clause 2).
Fields§
§name: String§version: String§digest: Stringsha256:<hex> of the bytes, as the signed manifest records it.
realm: StringThe realm whose trust root vouched for the layer offering it, and the layer itself — both, because the error must name the realms that disagree, not merely the layers.
layer: StringTrait Implementations§
Source§impl Clone for PayloadOrigin
impl Clone for PayloadOrigin
Source§fn clone(&self) -> PayloadOrigin
fn clone(&self) -> PayloadOrigin
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 PayloadOrigin
impl Debug for PayloadOrigin
impl Eq for PayloadOrigin
Source§impl PartialEq for PayloadOrigin
impl PartialEq for PayloadOrigin
impl StructuralPartialEq for PayloadOrigin
Auto Trait Implementations§
impl Freeze for PayloadOrigin
impl RefUnwindSafe for PayloadOrigin
impl Send for PayloadOrigin
impl Sync for PayloadOrigin
impl Unpin for PayloadOrigin
impl UnsafeUnpin for PayloadOrigin
impl UnwindSafe for PayloadOrigin
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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