pub struct MaskedVpsJson {Show 20 fields
pub name: String,
pub host: String,
pub port: u16,
pub user: String,
pub password: Option<String>,
pub key_path: Option<String>,
pub key_passphrase: Option<String>,
pub sudo_password: Option<String>,
pub su_password: Option<String>,
pub timeout_ms: u64,
pub max_command_chars: usize,
pub max_output_chars: usize,
pub disable_sudo: bool,
pub schema_version: u32,
pub added_at: String,
pub tags: Vec<String>,
pub tls: bool,
pub tls_sni: Option<String>,
pub tls_client_cert: Option<String>,
pub tls_client_key: Option<String>,
}Expand description
Masked VPS record for vps list|show --json (secrets never raw).
Fields§
§name: StringLogical name.
host: StringHostname or IP.
port: u16SSH port.
user: StringSSH username (user on wire, not username).
password: Option<String>null when empty/key-only; "***" when present.
key_path: Option<String>Key path when set.
key_passphrase: Option<String>Masked when present.
sudo_password: Option<String>Masked when present.
su_password: Option<String>Masked when present.
timeout_ms: u64Timeout ms.
max_command_chars: usizeCommand char limit.
max_output_chars: usizeOutput char limit.
disable_sudo: boolSudo/su disabled flag.
schema_version: u32Schema version.
added_at: StringRFC 3339 added-at.
Host tags (G-O2 / G-SERDE-06).
tls: boolSSH-over-TLS enabled.
tls_sni: Option<String>TLS SNI override.
tls_client_cert: Option<String>mTLS client cert path.
tls_client_key: Option<String>mTLS client key path (path only; never key material).
Trait Implementations§
Source§impl Clone for MaskedVpsJson
impl Clone for MaskedVpsJson
Source§fn clone(&self) -> MaskedVpsJson
fn clone(&self) -> MaskedVpsJson
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 MaskedVpsJson
impl Debug for MaskedVpsJson
Source§impl<'de> Deserialize<'de> for MaskedVpsJson
impl<'de> Deserialize<'de> for MaskedVpsJson
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
impl Eq for MaskedVpsJson
Source§impl From<&VpsRecord> for MaskedVpsJson
impl From<&VpsRecord> for MaskedVpsJson
Source§impl PartialEq for MaskedVpsJson
impl PartialEq for MaskedVpsJson
Source§impl Serialize for MaskedVpsJson
impl Serialize for MaskedVpsJson
impl StructuralPartialEq for MaskedVpsJson
Auto Trait Implementations§
impl Freeze for MaskedVpsJson
impl RefUnwindSafe for MaskedVpsJson
impl Send for MaskedVpsJson
impl Sync for MaskedVpsJson
impl Unpin for MaskedVpsJson
impl UnsafeUnpin for MaskedVpsJson
impl UnwindSafe for MaskedVpsJson
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.