pub struct PacketHeaderStatementSpecView {
pub destination_addresses: Vec<String>,
pub destination_ports: Vec<String>,
pub destination_prefix_lists: Vec<String>,
pub protocols: Vec<String>,
pub source_addresses: Vec<String>,
pub source_ports: Vec<String>,
pub source_prefix_lists: Vec<String>,
}Fields§
§destination_addresses: Vec<String>§destination_ports: Vec<String>§destination_prefix_lists: Vec<String>§protocols: Vec<String>§source_addresses: Vec<String>§source_ports: Vec<String>§source_prefix_lists: Vec<String>Trait Implementations§
Source§impl Clone for PacketHeaderStatementSpecView
impl Clone for PacketHeaderStatementSpecView
Source§fn clone(&self) -> PacketHeaderStatementSpecView
fn clone(&self) -> PacketHeaderStatementSpecView
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 Default for PacketHeaderStatementSpecView
impl Default for PacketHeaderStatementSpecView
Source§fn default() -> PacketHeaderStatementSpecView
fn default() -> PacketHeaderStatementSpecView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PacketHeaderStatementSpecView
impl<'de> Deserialize<'de> for PacketHeaderStatementSpecView
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 From<&PacketHeaderStatementSpec> for PacketHeaderStatementSpecView
impl From<&PacketHeaderStatementSpec> for PacketHeaderStatementSpecView
Source§fn from(s: &PacketHeaderStatementSpec) -> Self
fn from(s: &PacketHeaderStatementSpec) -> Self
Converts to this type from the input type.
Source§impl From<PacketHeaderStatementSpecView> for PacketHeaderStatementSpec
impl From<PacketHeaderStatementSpecView> for PacketHeaderStatementSpec
Source§fn from(v: PacketHeaderStatementSpecView) -> Self
fn from(v: PacketHeaderStatementSpecView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PacketHeaderStatementSpecView
impl RefUnwindSafe for PacketHeaderStatementSpecView
impl Send for PacketHeaderStatementSpecView
impl Sync for PacketHeaderStatementSpecView
impl Unpin for PacketHeaderStatementSpecView
impl UnsafeUnpin for PacketHeaderStatementSpecView
impl UnwindSafe for PacketHeaderStatementSpecView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.