pub struct KeypairCreated {
pub keypair_fingerprint: Option<String>,
pub keypair_id: Option<String>,
pub keypair_name: Option<String>,
pub keypair_type: Option<String>,
pub private_key: Option<String>,
pub tags: Option<Vec<ResourceTag>>,
}Expand description
KeypairCreated : Information about the created keypair.
Fields§
§keypair_fingerprint: Option<String>The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypair_id: Option<String>The ID of the keypair.
keypair_name: Option<String>The name of the keypair.
keypair_type: Option<String>The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
private_key: Option<String>The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \\n escape sequences with real line breaks.
One or more tags associated with the keypair.
Implementations§
Source§impl KeypairCreated
impl KeypairCreated
Sourcepub fn new() -> KeypairCreated
pub fn new() -> KeypairCreated
Information about the created keypair.
Trait Implementations§
Source§impl Clone for KeypairCreated
impl Clone for KeypairCreated
Source§fn clone(&self) -> KeypairCreated
fn clone(&self) -> KeypairCreated
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 Debug for KeypairCreated
impl Debug for KeypairCreated
Source§impl Default for KeypairCreated
impl Default for KeypairCreated
Source§fn default() -> KeypairCreated
fn default() -> KeypairCreated
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeypairCreated
impl<'de> Deserialize<'de> for KeypairCreated
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeypairCreated
impl PartialEq for KeypairCreated
Source§impl Serialize for KeypairCreated
impl Serialize for KeypairCreated
impl StructuralPartialEq for KeypairCreated
Auto Trait Implementations§
impl Freeze for KeypairCreated
impl RefUnwindSafe for KeypairCreated
impl Send for KeypairCreated
impl Sync for KeypairCreated
impl Unpin for KeypairCreated
impl UnwindSafe for KeypairCreated
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.