pub struct SignatureMaterial {
pub bundle_ref: String,
pub identity_pattern: String,
}Expand description
Signature / provenance material attached to a release artifact, as the artifact resolver records it from a release manifest.
Fields§
§bundle_ref: StringReference to the signature bundle (e.g. a cosign bundle path or URL).
identity_pattern: StringCertificate identity pattern the bundle must match (sigstore OIDC),
e.g. the release-workflow identity regex used by update/verify.rs.
Trait Implementations§
Source§impl Clone for SignatureMaterial
impl Clone for SignatureMaterial
Source§impl Debug for SignatureMaterial
impl Debug for SignatureMaterial
Source§impl<'de> Deserialize<'de> for SignatureMaterial
impl<'de> Deserialize<'de> for SignatureMaterial
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
impl Eq for SignatureMaterial
Source§impl PartialEq for SignatureMaterial
impl PartialEq for SignatureMaterial
Source§impl Serialize for SignatureMaterial
impl Serialize for SignatureMaterial
impl StructuralPartialEq for SignatureMaterial
Auto Trait Implementations§
impl Freeze for SignatureMaterial
impl RefUnwindSafe for SignatureMaterial
impl Send for SignatureMaterial
impl Sync for SignatureMaterial
impl Unpin for SignatureMaterial
impl UnsafeUnpin for SignatureMaterial
impl UnwindSafe for SignatureMaterial
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.