[][src]Struct shelper::tunnels::TunnelMetadata

pub struct TunnelMetadata {
    pub id: String,
    pub owner: String,
    pub use_kgp: bool,
    pub no_ssl_bump_list: Option<Vec<String>>,
    pub direct_domains_list: Option<Vec<String>>,
    pub shared: bool,
    pub maki: String,
    pub status: String,
    pub shutdown_by_user: Option<bool>,
    pub name: Option<String>,
    pub creation_time: Option<i64>,
    pub shutdown_time: Option<i64>,
    pub last_connected_time: Option<i64>,
    pub duration: Option<i64>,
    pub metadata: Metadata,
}

TunnelMetadata is the overall tunnel config, the maki used, the owner, start time, overall duration etc etc.

Fields

id: Stringowner: Stringuse_kgp: boolno_ssl_bump_list: Option<Vec<String>>direct_domains_list: Option<Vec<String>>shared: boolmaki: Stringstatus: Stringshutdown_by_user: Option<bool>name: Option<String>creation_time: Option<i64>shutdown_time: Option<i64>last_connected_time: Option<i64>duration: Option<i64>metadata: Metadata

Implementations

impl TunnelMetadata[src]

pub fn pretty_print(&self)[src]

Trait Implementations

impl Debug for TunnelMetadata[src]

impl<'de> Deserialize<'de> for TunnelMetadata[src]

impl Serialize for TunnelMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.