pub struct SignatureSpec {
pub image: Option<String>,
pub manifest: Option<String>,
}Expand description
Optional Sigstore/cosign signature metadata.
Fields§
§image: Option<String>"sigstore" to verify the OCI image signature with cosign.
manifest: Option<String>"sigstore" to verify the manifest’s commit signature.
Trait Implementations§
Source§impl Clone for SignatureSpec
impl Clone for SignatureSpec
Source§fn clone(&self) -> SignatureSpec
fn clone(&self) -> SignatureSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 SignatureSpec
impl Debug for SignatureSpec
Source§impl<'de> Deserialize<'de> for SignatureSpec
impl<'de> Deserialize<'de> for SignatureSpec
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 SignatureSpec
impl RefUnwindSafe for SignatureSpec
impl Send for SignatureSpec
impl Sync for SignatureSpec
impl Unpin for SignatureSpec
impl UnsafeUnpin for SignatureSpec
impl UnwindSafe for SignatureSpec
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