pub struct SignerInfo {
pub name: String,
pub email: Option<String>,
pub organization: Option<String>,
pub certificate: Option<String>,
pub key_id: Option<String>,
}Available on crate feature
signatures only.Expand description
Information about the signer.
Fields§
§name: StringSigner’s display name.
email: Option<String>Signer’s email address.
organization: Option<String>Signer’s organization.
certificate: Option<String>X.509 certificate (PEM format).
key_id: Option<String>Key identifier (DID, URL, etc.).
Implementations§
Source§impl SignerInfo
impl SignerInfo
Trait Implementations§
Source§impl Clone for SignerInfo
impl Clone for SignerInfo
Source§fn clone(&self) -> SignerInfo
fn clone(&self) -> SignerInfo
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 SignerInfo
impl Debug for SignerInfo
Source§impl<'de> Deserialize<'de> for SignerInfo
impl<'de> Deserialize<'de> for SignerInfo
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 SignerInfo
impl PartialEq for SignerInfo
Source§impl Serialize for SignerInfo
impl Serialize for SignerInfo
impl Eq for SignerInfo
impl StructuralPartialEq for SignerInfo
Auto Trait Implementations§
impl Freeze for SignerInfo
impl RefUnwindSafe for SignerInfo
impl Send for SignerInfo
impl Sync for SignerInfo
impl Unpin for SignerInfo
impl UnsafeUnpin for SignerInfo
impl UnwindSafe for SignerInfo
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.