Struct aws_sdk_fms::model::ProtocolsListData
source · [−]#[non_exhaustive]pub struct ProtocolsListData {
pub list_id: Option<String>,
pub list_name: Option<String>,
pub list_update_token: Option<String>,
pub create_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub protocols_list: Option<Vec<String>>,
pub previous_protocols_list: Option<HashMap<String, Vec<String>>>,
}
Expand description
An Firewall Manager protocols list.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.list_id: Option<String>
The ID of the Firewall Manager protocols list.
list_name: Option<String>
The name of the Firewall Manager protocols list.
list_update_token: Option<String>
A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
create_time: Option<DateTime>
The time that the Firewall Manager protocols list was created.
last_update_time: Option<DateTime>
The time that the Firewall Manager protocols list was last updated.
protocols_list: Option<Vec<String>>
An array of protocols in the Firewall Manager protocols list.
previous_protocols_list: Option<HashMap<String, Vec<String>>>
A map of previous version numbers to their corresponding protocol arrays.
Implementations
sourceimpl ProtocolsListData
impl ProtocolsListData
sourcepub fn list_update_token(&self) -> Option<&str>
pub fn list_update_token(&self) -> Option<&str>
A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time that the Firewall Manager protocols list was created.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The time that the Firewall Manager protocols list was last updated.
sourcepub fn protocols_list(&self) -> Option<&[String]>
pub fn protocols_list(&self) -> Option<&[String]>
An array of protocols in the Firewall Manager protocols list.
sourceimpl ProtocolsListData
impl ProtocolsListData
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProtocolsListData
.
Trait Implementations
sourceimpl Clone for ProtocolsListData
impl Clone for ProtocolsListData
sourcefn clone(&self) -> ProtocolsListData
fn clone(&self) -> ProtocolsListData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProtocolsListData
impl Debug for ProtocolsListData
sourceimpl PartialEq<ProtocolsListData> for ProtocolsListData
impl PartialEq<ProtocolsListData> for ProtocolsListData
sourcefn eq(&self, other: &ProtocolsListData) -> bool
fn eq(&self, other: &ProtocolsListData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProtocolsListData) -> bool
fn ne(&self, other: &ProtocolsListData) -> bool
This method tests for !=
.
impl StructuralPartialEq for ProtocolsListData
Auto Trait Implementations
impl RefUnwindSafe for ProtocolsListData
impl Send for ProtocolsListData
impl Sync for ProtocolsListData
impl Unpin for ProtocolsListData
impl UnwindSafe for ProtocolsListData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more