pub struct SSHKey {
pub name: Option<String>,
pub public_key: Option<String>,
}Expand description
An SSH key, used for authorizing with the interactive serial console feature.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations ssh keys create projects (request|response)
Fields§
§name: Option<String>Output only. The name of this SSH key. Currently, the only valid value for the location is “global”.
public_key: Option<String>The public SSH key. This must be in OpenSSH .authorized_keys format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SSHKey
impl<'de> Deserialize<'de> for SSHKey
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
impl RequestValue for SSHKey
impl ResponseResult for SSHKey
Auto Trait Implementations§
impl Freeze for SSHKey
impl RefUnwindSafe for SSHKey
impl Send for SSHKey
impl Sync for SSHKey
impl Unpin for SSHKey
impl UnwindSafe for SSHKey
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