pub struct PortInfo {
pub ip: Option<String>,
pub is_ip_public: Option<bool>,
pub private_port: Option<i32>,
pub public_port: Option<i32>,
pub port_type: Option<String>,
}Fields§
§ip: Option<String>§is_ip_public: Option<bool>§private_port: Option<i32>§public_port: Option<i32>§port_type: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortInfo
impl<'de> Deserialize<'de> for PortInfo
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 PortInfo
impl RefUnwindSafe for PortInfo
impl Send for PortInfo
impl Sync for PortInfo
impl Unpin for PortInfo
impl UnwindSafe for PortInfo
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