#[non_exhaustive]pub struct UpdateIpRestrictionInput {
pub aws_account_id: Option<String>,
pub ip_restriction_rule_map: Option<HashMap<String, String>>,
pub enabled: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_account_id: Option<String>The ID of the Amazon Web Services account that contains the IP rules.
ip_restriction_rule_map: Option<HashMap<String, String>>A map that describes the updated IP rules with CIDR ranges and descriptions.
enabled: Option<bool>A value that specifies whether IP rules are turned on.
Implementations§
source§impl UpdateIpRestrictionInput
impl UpdateIpRestrictionInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the IP rules.
source§impl UpdateIpRestrictionInput
impl UpdateIpRestrictionInput
sourcepub fn builder() -> UpdateIpRestrictionInputBuilder
pub fn builder() -> UpdateIpRestrictionInputBuilder
Creates a new builder-style object to manufacture UpdateIpRestrictionInput.
Trait Implementations§
source§impl Clone for UpdateIpRestrictionInput
impl Clone for UpdateIpRestrictionInput
source§fn clone(&self) -> UpdateIpRestrictionInput
fn clone(&self) -> UpdateIpRestrictionInput
Returns a copy 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 UpdateIpRestrictionInput
impl Debug for UpdateIpRestrictionInput
source§impl PartialEq for UpdateIpRestrictionInput
impl PartialEq for UpdateIpRestrictionInput
source§fn eq(&self, other: &UpdateIpRestrictionInput) -> bool
fn eq(&self, other: &UpdateIpRestrictionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateIpRestrictionInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateIpRestrictionInput
impl Send for UpdateIpRestrictionInput
impl Sync for UpdateIpRestrictionInput
impl Unpin for UpdateIpRestrictionInput
impl UnwindSafe for UpdateIpRestrictionInput
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> 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>
Creates a shared type from an unshared type.