Struct aws_sdk_macie2::model::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
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
sourceimpl 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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more