#[non_exhaustive]pub struct GenerateRsaKeyPairOutputBuilder { /* private fields */ }Expand description
A builder for GenerateRsaKeyPairOutput.
Implementations§
Source§impl GenerateRsaKeyPairOutputBuilder
impl GenerateRsaKeyPairOutputBuilder
pub fn private_key(self, input: impl Into<RsaPrivateKey>) -> Self
pub fn set_private_key(self, input: Option<RsaPrivateKey>) -> Self
pub fn get_private_key(&self) -> &Option<RsaPrivateKey>
pub fn public_key(self, input: impl Into<RsaPublicKey>) -> Self
pub fn set_public_key(self, input: Option<RsaPublicKey>) -> Self
pub fn get_public_key(&self) -> &Option<RsaPublicKey>
Sourcepub fn build(self) -> Result<GenerateRsaKeyPairOutput, BuildError>
pub fn build(self) -> Result<GenerateRsaKeyPairOutput, BuildError>
Consumes the builder and constructs a GenerateRsaKeyPairOutput.
Trait Implementations§
Source§impl Clone for GenerateRsaKeyPairOutputBuilder
impl Clone for GenerateRsaKeyPairOutputBuilder
Source§fn clone(&self) -> GenerateRsaKeyPairOutputBuilder
fn clone(&self) -> GenerateRsaKeyPairOutputBuilder
Returns a duplicate 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 moreSource§impl Default for GenerateRsaKeyPairOutputBuilder
impl Default for GenerateRsaKeyPairOutputBuilder
Source§fn default() -> GenerateRsaKeyPairOutputBuilder
fn default() -> GenerateRsaKeyPairOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenerateRsaKeyPairOutputBuilder
impl PartialEq for GenerateRsaKeyPairOutputBuilder
Source§fn eq(&self, other: &GenerateRsaKeyPairOutputBuilder) -> bool
fn eq(&self, other: &GenerateRsaKeyPairOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenerateRsaKeyPairOutputBuilder
Auto Trait Implementations§
impl Freeze for GenerateRsaKeyPairOutputBuilder
impl RefUnwindSafe for GenerateRsaKeyPairOutputBuilder
impl Send for GenerateRsaKeyPairOutputBuilder
impl Sync for GenerateRsaKeyPairOutputBuilder
impl Unpin for GenerateRsaKeyPairOutputBuilder
impl UnwindSafe for GenerateRsaKeyPairOutputBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.