pub struct NodesVncshellRequest {
pub cmd: Option<PveCmdEnum>,
pub cmd_opts: Option<String>,
pub height: Option<i32>,
pub websocket: Option<PveBoolean>,
pub width: Option<i32>,
}Fields§
§cmd: Option<PveCmdEnum>Run specific command or default to login (requires ‘root@pam’)
cmd_opts: Option<String>Add parameters to a command. Encoded as null terminated strings.
height: Option<i32>sets the height of the console in pixels.
websocket: Option<PveBoolean>use websocket instead of standard vnc.
width: Option<i32>sets the width of the console in pixels.
Implementations§
Source§impl NodesVncshellRequest
impl NodesVncshellRequest
pub fn new() -> NodesVncshellRequest
Trait Implementations§
Source§impl Clone for NodesVncshellRequest
impl Clone for NodesVncshellRequest
Source§fn clone(&self) -> NodesVncshellRequest
fn clone(&self) -> NodesVncshellRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodesVncshellRequest
impl Debug for NodesVncshellRequest
Source§impl Default for NodesVncshellRequest
impl Default for NodesVncshellRequest
Source§fn default() -> NodesVncshellRequest
fn default() -> NodesVncshellRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesVncshellRequest
impl<'de> Deserialize<'de> for NodesVncshellRequest
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 NodesVncshellRequest
impl PartialEq for NodesVncshellRequest
Source§fn eq(&self, other: &NodesVncshellRequest) -> bool
fn eq(&self, other: &NodesVncshellRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodesVncshellRequest
impl Serialize for NodesVncshellRequest
impl StructuralPartialEq for NodesVncshellRequest
Auto Trait Implementations§
impl Freeze for NodesVncshellRequest
impl RefUnwindSafe for NodesVncshellRequest
impl Send for NodesVncshellRequest
impl Sync for NodesVncshellRequest
impl Unpin for NodesVncshellRequest
impl UnsafeUnpin for NodesVncshellRequest
impl UnwindSafe for NodesVncshellRequest
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