[−][src]Struct pgp::composed::key::SubkeyParamsBuilder
Builder for SubkeyParams
.
Methods
impl SubkeyParamsBuilder
[src]
pub fn key_type(&mut self, value: KeyType) -> &mut Self
[src]
pub fn can_sign(&mut self, value: bool) -> &mut Self
[src]
pub fn can_create_certificates(&mut self, value: bool) -> &mut Self
[src]
pub fn can_encrypt(&mut self, value: bool) -> &mut Self
[src]
pub fn user_ids(&mut self, value: Vec<UserId>) -> &mut Self
[src]
pub fn user_attributes(&mut self, value: Vec<UserAttribute>) -> &mut Self
[src]
pub fn passphrase(&mut self, value: Option<String>) -> &mut Self
[src]
pub fn created_at(&mut self, value: DateTime<Utc>) -> &mut Self
[src]
pub fn packet_version(&mut self, value: Version) -> &mut Self
[src]
pub fn version(&mut self, value: KeyVersion) -> &mut Self
[src]
pub fn expiration(&mut self, value: Option<Duration>) -> &mut Self
[src]
pub fn build(&self) -> Result<SubkeyParams, String>
[src]
Trait Implementations
impl Clone for SubkeyParamsBuilder
[src]
fn clone(&self) -> SubkeyParamsBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SubkeyParamsBuilder
[src]
fn default() -> SubkeyParamsBuilder
[src]
Auto Trait Implementations
impl Send for SubkeyParamsBuilder
impl Sync for SubkeyParamsBuilder
impl Unpin for SubkeyParamsBuilder
impl UnwindSafe for SubkeyParamsBuilder
impl RefUnwindSafe for SubkeyParamsBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
[src]
T: InitializableFromZeroed + ?Sized,
impl<T> InitializableFromZeroed for T where
T: Default,
[src]
T: Default,
unsafe fn initialize(place: *mut T)
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,