pub struct ReplaceSshKeyResponse {
pub ssh_key: Box<SshKey>,
}
Expand description
ReplaceSshKeyResponse : Response to PUT https://api.hetzner.cloud/v1/ssh_keys/{id}
Fields§
§ssh_key: Box<SshKey>
Implementations§
source§impl ReplaceSshKeyResponse
impl ReplaceSshKeyResponse
sourcepub fn new(ssh_key: SshKey) -> ReplaceSshKeyResponse
pub fn new(ssh_key: SshKey) -> ReplaceSshKeyResponse
Response to PUT https://api.hetzner.cloud/v1/ssh_keys/{id}
Trait Implementations§
source§impl Clone for ReplaceSshKeyResponse
impl Clone for ReplaceSshKeyResponse
source§fn clone(&self) -> ReplaceSshKeyResponse
fn clone(&self) -> ReplaceSshKeyResponse
Returns a copy 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 ReplaceSshKeyResponse
impl Debug for ReplaceSshKeyResponse
source§impl Default for ReplaceSshKeyResponse
impl Default for ReplaceSshKeyResponse
source§fn default() -> ReplaceSshKeyResponse
fn default() -> ReplaceSshKeyResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReplaceSshKeyResponse
impl<'de> Deserialize<'de> for ReplaceSshKeyResponse
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 ReplaceSshKeyResponse
impl PartialEq for ReplaceSshKeyResponse
source§fn eq(&self, other: &ReplaceSshKeyResponse) -> bool
fn eq(&self, other: &ReplaceSshKeyResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReplaceSshKeyResponse
impl Serialize for ReplaceSshKeyResponse
impl StructuralPartialEq for ReplaceSshKeyResponse
Auto Trait Implementations§
impl RefUnwindSafe for ReplaceSshKeyResponse
impl Send for ReplaceSshKeyResponse
impl Sync for ReplaceSshKeyResponse
impl Unpin for ReplaceSshKeyResponse
impl UnwindSafe for ReplaceSshKeyResponse
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