[−][src]Struct pgp::packet::config::SignatureConfigBuilder
Builder for SignatureConfig
.
Methods
impl SignatureConfigBuilder
[src]
pub fn version(&mut self, value: SignatureVersion) -> &mut Self
[src]
pub fn typ(&mut self, value: SignatureType) -> &mut Self
[src]
pub fn pub_alg(&mut self, value: PublicKeyAlgorithm) -> &mut Self
[src]
pub fn hash_alg(&mut self, value: HashAlgorithm) -> &mut Self
[src]
pub fn unhashed_subpackets(&mut self, value: Vec<Subpacket>) -> &mut Self
[src]
pub fn hashed_subpackets(&mut self, value: Vec<Subpacket>) -> &mut Self
[src]
pub fn created(&mut self, value: Option<DateTime<Utc>>) -> &mut Self
[src]
pub fn issuer(&mut self, value: Option<KeyId>) -> &mut Self
[src]
pub fn build(&self) -> Result<SignatureConfig, String>
[src]
Trait Implementations
impl Clone for SignatureConfigBuilder
[src]
fn clone(&self) -> SignatureConfigBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SignatureConfigBuilder
[src]
fn default() -> SignatureConfigBuilder
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
[src]
T: InitializableFromZeroed + ?Sized,
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
[src]
T: Default,
unsafe fn initialize(place: *mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,