Struct aws_sdk_fms::types::ProtocolsListData
source · #[non_exhaustive]pub struct ProtocolsListData {
pub list_id: Option<String>,
pub list_name: String,
pub list_update_token: Option<String>,
pub create_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub protocols_list: 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: 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: 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§
source§impl 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) -> &[String]
pub fn protocols_list(&self) -> &[String]
An array of protocols in the Firewall Manager protocols list.
source§impl ProtocolsListData
impl ProtocolsListData
sourcepub fn builder() -> ProtocolsListDataBuilder
pub fn builder() -> ProtocolsListDataBuilder
Creates a new builder-style object to manufacture ProtocolsListData
.
Trait Implementations§
source§impl Clone for ProtocolsListData
impl Clone for ProtocolsListData
source§fn clone(&self) -> ProtocolsListData
fn clone(&self) -> ProtocolsListData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProtocolsListData
impl Debug for ProtocolsListData
source§impl PartialEq for ProtocolsListData
impl PartialEq for ProtocolsListData
source§fn eq(&self, other: &ProtocolsListData) -> bool
fn eq(&self, other: &ProtocolsListData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProtocolsListData
Auto Trait Implementations§
impl Freeze for ProtocolsListData
impl RefUnwindSafe for ProtocolsListData
impl Send for ProtocolsListData
impl Sync for ProtocolsListData
impl Unpin for ProtocolsListData
impl UnwindSafe for ProtocolsListData
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
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>
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>
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 more