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: StringVNC password to use for this connection (this password only works in combination with a wss_url with valid token).
wss_url: StringURL 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 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 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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestConsoleForServerResponse
Auto Trait Implementations§
impl Freeze for RequestConsoleForServerResponse
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