pub struct TunnelSummary {
pub id: String,
pub name: String,
pub status: String,
pub services: Vec<String>,
pub created_at: u64,
pub expires_at: u64,
pub last_connected: Option<u64>,
}Expand description
Tunnel summary for list operations
Fields§
§id: StringUnique tunnel identifier
name: StringName of the tunnel
status: StringCurrent status (active, disconnected, expired)
services: Vec<String>Services this tunnel can expose
created_at: u64When the tunnel was created (Unix timestamp)
expires_at: u64When the token expires (Unix timestamp)
last_connected: Option<u64>Last time the tunnel connected (Unix timestamp, if ever)
Trait Implementations§
Source§impl Clone for TunnelSummary
impl Clone for TunnelSummary
Source§fn clone(&self) -> TunnelSummary
fn clone(&self) -> TunnelSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for TunnelSummary
impl ComposeSchema for TunnelSummary
Source§impl Debug for TunnelSummary
impl Debug for TunnelSummary
Source§impl<'de> Deserialize<'de> for TunnelSummary
impl<'de> Deserialize<'de> for TunnelSummary
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 Serialize for TunnelSummary
impl Serialize for TunnelSummary
Auto Trait Implementations§
impl Freeze for TunnelSummary
impl RefUnwindSafe for TunnelSummary
impl Send for TunnelSummary
impl Sync for TunnelSummary
impl Unpin for TunnelSummary
impl UnsafeUnpin for TunnelSummary
impl UnwindSafe for TunnelSummary
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