pub struct DescribeProtectionRequest {
pub protection_id: Option<String>,
pub resource_arn: Option<String>,
}Fields§
§protection_id: Option<String>The unique identifier (ID) for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.
resource_arn: Option<String>The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.
Trait Implementations§
Source§impl Clone for DescribeProtectionRequest
impl Clone for DescribeProtectionRequest
Source§fn clone(&self) -> DescribeProtectionRequest
fn clone(&self) -> DescribeProtectionRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 DescribeProtectionRequest
impl Debug for DescribeProtectionRequest
Source§impl Default for DescribeProtectionRequest
impl Default for DescribeProtectionRequest
Source§fn default() -> DescribeProtectionRequest
fn default() -> DescribeProtectionRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DescribeProtectionRequest
Auto Trait Implementations§
impl Freeze for DescribeProtectionRequest
impl RefUnwindSafe for DescribeProtectionRequest
impl Send for DescribeProtectionRequest
impl Sync for DescribeProtectionRequest
impl Unpin for DescribeProtectionRequest
impl UnwindSafe for DescribeProtectionRequest
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