#[non_exhaustive]pub struct DebugInstanceRequest {
pub name: String,
pub ssh_key: String,
/* private fields */
}Expand description
Request message for Instances.DebugInstance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringName of the resource requested. Example:
apps/myapp/services/default/versions/v1/instances/instance-1.
ssh_key: StringPublic SSH key to add to the instance. Examples:
[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME][USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}
For more information, see Adding and Removing SSH Keys.
Implementations§
Trait Implementations§
Source§impl Clone for DebugInstanceRequest
impl Clone for DebugInstanceRequest
Source§fn clone(&self) -> DebugInstanceRequest
fn clone(&self) -> DebugInstanceRequest
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 DebugInstanceRequest
impl Debug for DebugInstanceRequest
Source§impl Default for DebugInstanceRequest
impl Default for DebugInstanceRequest
Source§fn default() -> DebugInstanceRequest
fn default() -> DebugInstanceRequest
Returns the “default value” for a type. Read more
Source§impl Message for DebugInstanceRequest
impl Message for DebugInstanceRequest
Source§impl PartialEq for DebugInstanceRequest
impl PartialEq for DebugInstanceRequest
impl StructuralPartialEq for DebugInstanceRequest
Auto Trait Implementations§
impl Freeze for DebugInstanceRequest
impl RefUnwindSafe for DebugInstanceRequest
impl Send for DebugInstanceRequest
impl Sync for DebugInstanceRequest
impl Unpin for DebugInstanceRequest
impl UnwindSafe for DebugInstanceRequest
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