#[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 (its certificate pinned, not chain-verified, 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
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.websocket: SecretValuewss://<server>/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 is trusted by the SHA-256 fingerprint the run pins
(PROXMOX_VE_TLS_FINGERPRINT, a self-signed one), not by a trusted authority’s chain: the
websocket’s client checks it by the same pin.
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 ProxmoxVncwhere
RawVecInner: Send,
impl Sync for ProxmoxVncwhere
RawVecInner: Sync,
impl Unpin for ProxmoxVnc
impl UnsafeUnpin for ProxmoxVnc
impl UnwindSafe for ProxmoxVncwhere
RawVecInner: UnwindSafe,
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
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
key and return true if they are equal.