Struct rusoto_shield::Protection [−][src]
pub struct Protection { pub id: Option<String>, pub name: Option<String>, pub resource_arn: Option<String>, }
An object that represents a resource that is under DDoS protection.
Fields
id: Option<String>
The unique identifier (ID) of the protection.
name: Option<String>
The friendly name of the protection. For example, My CloudFront distributions
.
resource_arn: Option<String>
The ARN (Amazon Resource Name) of the AWS resource that is protected.
Trait Implementations
impl Default for Protection
[src]
impl Default for Protection
fn default() -> Protection
[src]
fn default() -> Protection
Returns the "default value" for a type. Read more
impl Debug for Protection
[src]
impl Debug for Protection
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Protection
[src]
impl Clone for Protection
fn clone(&self) -> Protection
[src]
fn clone(&self) -> Protection
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Protection
[src]
impl PartialEq for Protection
fn eq(&self, other: &Protection) -> bool
[src]
fn eq(&self, other: &Protection) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Protection) -> bool
[src]
fn ne(&self, other: &Protection) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Protection
impl Send for Protection
impl Sync for Protection
impl Sync for Protection