#[non_exhaustive]pub struct ProxmoxVnc {
pub websocket: SecretValue,
pub port: u16,
pub ticket: SecretValue,
pub authorization: (String, SecretValue),
pub insecure: bool,
}Expand description
Proxmox VE’s VNC websocket for one VM, opened for one session: connect to websocket with
the authorization header (TLS unverified when insecure), then speak VNC with ticket as
the password. Every secret is a SecretValue: never print or log one.
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.websocket: SecretValuewss://<server>:8006/api2/json/nodes/<node>/qemu/<id>/vncwebsocket?port=<port>&vncticket=<ticket>:
it holds the ticket.
port: u16The VNC port vncproxy opened on the node (in the URL already).
ticket: SecretValueThe ticket: the VNC password, and in the URL.
The header that signs the websocket in: its name (Authorization, Cookie) and value.
insecure: boolThe server’s certificate isn’t verified (a self-signed one: the run’s proxmox_insecure).
Trait Implementations§
Source§impl Clone for ProxmoxVnc
impl Clone for ProxmoxVnc
Source§impl Debug for ProxmoxVnc
impl Debug for ProxmoxVnc
impl Eq for ProxmoxVnc
Source§impl PartialEq for ProxmoxVnc
impl PartialEq for ProxmoxVnc
impl StructuralPartialEq for ProxmoxVnc
Auto Trait Implementations§
impl Forget for ProxmoxVnc
impl Freeze for ProxmoxVnc
impl Move for ProxmoxVnc
impl RefUnwindSafe for ProxmoxVnc
impl Send for ProxmoxVnc
impl Sync for ProxmoxVnc
impl Unpin for ProxmoxVnc
impl UnsafeUnpin for ProxmoxVnc
impl UnwindSafe for ProxmoxVnc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.