pub struct SignatureRequestOutput {
pub(crate) sig_type: SignatureType,
}
Expand description
Outputs of the signing process.
Fields§
§sig_type: SignatureType
Type of the signature to be produced.
Implementations§
source§impl SignatureRequestOutput
impl SignatureRequestOutput
sourcepub fn new_openpgp_v4() -> Self
pub fn new_openpgp_v4() -> Self
Create a new signature output which asks for OpenPGP (version 4) signature.
sourcepub fn is_openpgp_v4(&self) -> bool
pub fn is_openpgp_v4(&self) -> bool
Indicates if the signature output should be OpenPGP (version 4).
Trait Implementations§
source§impl Debug for SignatureRequestOutput
impl Debug for SignatureRequestOutput
source§impl<'de> Deserialize<'de> for SignatureRequestOutput
impl<'de> Deserialize<'de> for SignatureRequestOutput
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 SignatureRequestOutput
impl RefUnwindSafe for SignatureRequestOutput
impl Send for SignatureRequestOutput
impl Sync for SignatureRequestOutput
impl Unpin for SignatureRequestOutput
impl UnwindSafe for SignatureRequestOutput
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