Struct pgp::packet::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 more