pub struct SignatureConfigBuilder { /* private fields */ }
Expand description
Builder for SignatureConfig
.
Implementations
sourceimpl 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
sourceimpl Clone for SignatureConfigBuilder
impl Clone for SignatureConfigBuilder
sourcefn clone(&self) -> SignatureConfigBuilder
fn clone(&self) -> SignatureConfigBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SignatureConfigBuilder
impl Default for SignatureConfigBuilder
sourcefn default() -> SignatureConfigBuilder
fn default() -> SignatureConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SignatureConfigBuilder
impl Send for SignatureConfigBuilder
impl Sync for SignatureConfigBuilder
impl Unpin for SignatureConfigBuilder
impl UnwindSafe for SignatureConfigBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more