pub struct InboundNetwork {
pub ports: Vec<u16>,
}Fields§
§ports: Vec<u16>Trait Implementations§
Source§impl Clone for InboundNetwork
impl Clone for InboundNetwork
Source§fn clone(&self) -> InboundNetwork
fn clone(&self) -> InboundNetwork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InboundNetwork
impl Debug for InboundNetwork
Source§impl Default for InboundNetwork
impl Default for InboundNetwork
Source§fn default() -> InboundNetwork
fn default() -> InboundNetwork
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InboundNetwork
impl<'de> Deserialize<'de> for InboundNetwork
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 PartialEq for InboundNetwork
impl PartialEq for InboundNetwork
Source§fn eq(&self, other: &InboundNetwork) -> bool
fn eq(&self, other: &InboundNetwork) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InboundNetwork
impl Serialize for InboundNetwork
impl StructuralPartialEq for InboundNetwork
Auto Trait Implementations§
impl Freeze for InboundNetwork
impl RefUnwindSafe for InboundNetwork
impl Send for InboundNetwork
impl Sync for InboundNetwork
impl Unpin for InboundNetwork
impl UnsafeUnpin for InboundNetwork
impl UnwindSafe for InboundNetwork
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