Struct aws_sdk_macie2::types::IpOwner
source · #[non_exhaustive]pub struct IpOwner {
pub asn: Option<String>,
pub asn_org: Option<String>,
pub isp: Option<String>,
pub org: Option<String>,
}
Expand description
Provides information about the registered owner of an IP address.
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.asn: Option<String>
The autonomous system number (ASN) for the autonomous system that included the IP address.
asn_org: Option<String>
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
isp: Option<String>
The name of the internet service provider (ISP) that owned the IP address.
org: Option<String>
The name of the organization that owned the IP address.
Implementations§
source§impl IpOwner
impl IpOwner
sourcepub fn asn(&self) -> Option<&str>
pub fn asn(&self) -> Option<&str>
The autonomous system number (ASN) for the autonomous system that included the IP address.
sourcepub fn asn_org(&self) -> Option<&str>
pub fn asn_org(&self) -> Option<&str>
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
Trait Implementations§
source§impl PartialEq for IpOwner
impl PartialEq for IpOwner
impl StructuralPartialEq for IpOwner
Auto Trait Implementations§
impl RefUnwindSafe for IpOwner
impl Send for IpOwner
impl Sync for IpOwner
impl Unpin for IpOwner
impl UnwindSafe for IpOwner
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.