pub struct SignatureSubject {
pub common_name: Option<String>,
pub organization: Option<String>,
pub public_key_id: String,
}
Expand description
SignatureSubject holds information about a person or entity who created the signature.
Fields§
§common_name: Option<String>
Common name (e.g. openshift-signing-service).
organization: Option<String>
Organization name.
public_key_id: String
If present, it is a human readable key id of public key belonging to the subject used to verify image signature. It should contain at least 64 lowest bits of public key’s fingerprint (e.g. 0x685ebe62bf278440).
Trait Implementations§
Source§impl Clone for SignatureSubject
impl Clone for SignatureSubject
Source§fn clone(&self) -> SignatureSubject
fn clone(&self) -> SignatureSubject
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 SignatureSubject
impl Debug for SignatureSubject
Source§impl Default for SignatureSubject
impl Default for SignatureSubject
Source§fn default() -> SignatureSubject
fn default() -> SignatureSubject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignatureSubject
impl<'de> Deserialize<'de> for SignatureSubject
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
Source§impl PartialEq for SignatureSubject
impl PartialEq for SignatureSubject
Source§impl Serialize for SignatureSubject
impl Serialize for SignatureSubject
impl StructuralPartialEq for SignatureSubject
Auto Trait Implementations§
impl Freeze for SignatureSubject
impl RefUnwindSafe for SignatureSubject
impl Send for SignatureSubject
impl Sync for SignatureSubject
impl Unpin for SignatureSubject
impl UnwindSafe for SignatureSubject
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