pub struct RequestConsoleForServerResponse {
pub action: Box<Action>,
pub password: String,
pub wss_url: String,
}
Expand description
RequestConsoleForServerResponse : Response to POST https://api.hetzner.cloud/v1/servers/{id}/actions/request_console
Fields§
§action: Box<Action>
§password: String
VNC password to use for this connection (this password only works in combination with a wss_url with valid token)
wss_url: String
URL of websocket proxy to use; this includes a token which is valid for a limited time only
Implementations§
Trait Implementations§
source§impl Clone for RequestConsoleForServerResponse
impl Clone for RequestConsoleForServerResponse
source§fn clone(&self) -> RequestConsoleForServerResponse
fn clone(&self) -> RequestConsoleForServerResponse
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 Default for RequestConsoleForServerResponse
impl Default for RequestConsoleForServerResponse
source§fn default() -> RequestConsoleForServerResponse
fn default() -> RequestConsoleForServerResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RequestConsoleForServerResponse
impl<'de> Deserialize<'de> for RequestConsoleForServerResponse
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 RequestConsoleForServerResponse
impl PartialEq for RequestConsoleForServerResponse
source§fn eq(&self, other: &RequestConsoleForServerResponse) -> bool
fn eq(&self, other: &RequestConsoleForServerResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestConsoleForServerResponse
Auto Trait Implementations§
impl RefUnwindSafe for RequestConsoleForServerResponse
impl Send for RequestConsoleForServerResponse
impl Sync for RequestConsoleForServerResponse
impl Unpin for RequestConsoleForServerResponse
impl UnwindSafe for RequestConsoleForServerResponse
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