pub struct PacketHeaderStatementSpec {
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 PacketHeaderStatementSpec
impl Clone for PacketHeaderStatementSpec
Source§fn clone(&self) -> PacketHeaderStatementSpec
fn clone(&self) -> PacketHeaderStatementSpec
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 PacketHeaderStatementSpec
impl Debug for PacketHeaderStatementSpec
Source§impl Default for PacketHeaderStatementSpec
impl Default for PacketHeaderStatementSpec
Source§fn default() -> PacketHeaderStatementSpec
fn default() -> PacketHeaderStatementSpec
Returns the “default value” for a type. 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 PacketHeaderStatementSpec
impl RefUnwindSafe for PacketHeaderStatementSpec
impl Send for PacketHeaderStatementSpec
impl Sync for PacketHeaderStatementSpec
impl Unpin for PacketHeaderStatementSpec
impl UnsafeUnpin for PacketHeaderStatementSpec
impl UnwindSafe for PacketHeaderStatementSpec
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.