pub struct AgentTunnel {Show 14 fields
pub id: Uuid,
pub internal_id: u64,
pub name: Option<String>,
pub ip_num: u64,
pub region_num: u16,
pub port: PortRange,
pub proto: PortType,
pub local_ip: IpAddr,
pub local_port: u16,
pub tunnel_type: Option<String>,
pub assigned_domain: String,
pub custom_domain: Option<String>,
pub disabled: Option<AgentTunnelDisabled>,
pub proxy_protocol: Option<ProxyProtocol>,
}
Fields§
§id: Uuid
§internal_id: u64
§name: Option<String>
§ip_num: u64
§region_num: u16
§port: PortRange
§proto: PortType
§local_ip: IpAddr
§local_port: u16
§tunnel_type: Option<String>
§assigned_domain: String
§custom_domain: Option<String>
§disabled: Option<AgentTunnelDisabled>
§proxy_protocol: Option<ProxyProtocol>
Trait Implementations§
Source§impl Clone for AgentTunnel
impl Clone for AgentTunnel
Source§fn clone(&self) -> AgentTunnel
fn clone(&self) -> AgentTunnel
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 Debug for AgentTunnel
impl Debug for AgentTunnel
Source§impl<'de> Deserialize<'de> for AgentTunnel
impl<'de> Deserialize<'de> for AgentTunnel
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
Auto Trait Implementations§
impl Freeze for AgentTunnel
impl RefUnwindSafe for AgentTunnel
impl Send for AgentTunnel
impl Sync for AgentTunnel
impl Unpin for AgentTunnel
impl UnwindSafe for AgentTunnel
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