#[non_exhaustive]pub struct DescribeIpRestrictionOutput {
pub aws_account_id: Option<String>,
pub ip_restriction_rule_map: Option<HashMap<String, String>>,
pub vpc_id_restriction_rule_map: Option<HashMap<String, String>>,
pub vpc_endpoint_id_restriction_rule_map: Option<HashMap<String, String>>,
pub enabled: Option<bool>,
pub request_id: Option<String>,
pub status: i32,
/* private fields */
}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.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 IP rules with CIDR range and description.
vpc_id_restriction_rule_map: Option<HashMap<String, String>>A map of allowed VPC IDs and their rule descriptions.
vpc_endpoint_id_restriction_rule_map: Option<HashMap<String, String>>A map of allowed VPC endpoint IDs and their rule descriptions.
enabled: Option<bool>A value that specifies whether IP rules are turned on.
request_id: Option<String>The Amazon Web Services request ID for this operation.
status: i32The HTTP status of the request.
Implementations§
source§impl DescribeIpRestrictionOutput
impl DescribeIpRestrictionOutput
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.
sourcepub fn ip_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
pub fn ip_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
A map that describes the IP rules with CIDR range and description.
sourcepub fn vpc_id_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
pub fn vpc_id_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
A map of allowed VPC IDs and their rule descriptions.
sourcepub fn vpc_endpoint_id_restriction_rule_map(
&self,
) -> Option<&HashMap<String, String>>
pub fn vpc_endpoint_id_restriction_rule_map( &self, ) -> Option<&HashMap<String, String>>
A map of allowed VPC endpoint IDs and their rule descriptions.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The Amazon Web Services request ID for this operation.
source§impl DescribeIpRestrictionOutput
impl DescribeIpRestrictionOutput
sourcepub fn builder() -> DescribeIpRestrictionOutputBuilder
pub fn builder() -> DescribeIpRestrictionOutputBuilder
Creates a new builder-style object to manufacture DescribeIpRestrictionOutput.
Trait Implementations§
source§impl Clone for DescribeIpRestrictionOutput
impl Clone for DescribeIpRestrictionOutput
source§fn clone(&self) -> DescribeIpRestrictionOutput
fn clone(&self) -> DescribeIpRestrictionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeIpRestrictionOutput
impl Debug for DescribeIpRestrictionOutput
source§impl RequestId for DescribeIpRestrictionOutput
impl RequestId for DescribeIpRestrictionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeIpRestrictionOutput
Auto Trait Implementations§
impl Freeze for DescribeIpRestrictionOutput
impl RefUnwindSafe for DescribeIpRestrictionOutput
impl Send for DescribeIpRestrictionOutput
impl Sync for DescribeIpRestrictionOutput
impl Unpin for DescribeIpRestrictionOutput
impl UnwindSafe for DescribeIpRestrictionOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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