Struct pgp::packet::config::SignatureConfigBuilder
source · pub struct SignatureConfigBuilder { /* private fields */ }
Expand description
Builder for SignatureConfig
.
Implementations§
source§impl SignatureConfigBuilder
impl SignatureConfigBuilder
pub fn version(&mut self, value: SignatureVersion) -> &mut Self
pub fn typ(&mut self, value: SignatureType) -> &mut Self
pub fn pub_alg(&mut self, value: PublicKeyAlgorithm) -> &mut Self
pub fn hash_alg(&mut self, value: HashAlgorithm) -> &mut Self
pub fn unhashed_subpackets(&mut self, value: Vec<Subpacket>) -> &mut Self
pub fn hashed_subpackets(&mut self, value: Vec<Subpacket>) -> &mut Self
pub fn created(&mut self, value: Option<DateTime<Utc>>) -> &mut Self
pub fn issuer(&mut self, value: Option<KeyId>) -> &mut Self
Trait Implementations§
source§impl Clone for SignatureConfigBuilder
impl Clone for SignatureConfigBuilder
source§fn clone(&self) -> SignatureConfigBuilder
fn clone(&self) -> SignatureConfigBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SignatureConfigBuilder
impl RefUnwindSafe for SignatureConfigBuilder
impl Send for SignatureConfigBuilder
impl Sync for SignatureConfigBuilder
impl Unpin for SignatureConfigBuilder
impl UnwindSafe for SignatureConfigBuilder
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