pub struct TunnelInit { /* private fields */ }Implementations§
Source§impl TunnelInit
impl TunnelInit
pub const fn new( tunnel_id: String, tunnel_type: TunnelType, src_address: PpaassProtocolUnifyAddress, dst_address: PpaassProtocolUnifyAddress, ) -> TunnelInit
Source§impl TunnelInit
impl TunnelInit
pub fn tunnel_id(&self) -> &str
pub fn tunnel_type(&self) -> TunnelType
pub fn src_address(&self) -> &PpaassProtocolUnifyAddress
pub fn dst_address(&self) -> &PpaassProtocolUnifyAddress
Trait Implementations§
Source§impl Debug for TunnelInit
impl Debug for TunnelInit
Source§impl<'de> Deserialize<'de> for TunnelInit
impl<'de> Deserialize<'de> for TunnelInit
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 Display for TunnelInit
impl Display for TunnelInit
Auto Trait Implementations§
impl Freeze for TunnelInit
impl RefUnwindSafe for TunnelInit
impl Send for TunnelInit
impl Sync for TunnelInit
impl Unpin for TunnelInit
impl UnwindSafe for TunnelInit
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more