pub struct Signature {
pub format: Box<SignatureFormat>,
pub signature: String,
pub signed_by: String,
pub signing_algorithm_spec: Box<SigningAlgorithmSpec>,
}
Fields§
§format: Box<SignatureFormat>
§signature: String
§signed_by: String
The fingerprint/id of the keypair used to create this signature and needed to verify.
signing_algorithm_spec: Box<SigningAlgorithmSpec>
Implementations§
Source§impl Signature
impl Signature
pub fn new( format: SignatureFormat, signature: String, signed_by: String, signing_algorithm_spec: SigningAlgorithmSpec, ) -> Signature
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
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 StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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