Struct aws_sdk_detective::types::Administrator
source · #[non_exhaustive]pub struct Administrator {
pub account_id: Option<String>,
pub graph_arn: Option<String>,
pub delegation_time: Option<DateTime>,
}
Expand description
Information about the Detective administrator account for an organization.
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.account_id: Option<String>
The Amazon Web Services account identifier of the Detective administrator account for the organization.
graph_arn: Option<String>
The ARN of the organization behavior graph.
delegation_time: Option<DateTime>
The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
Implementations§
source§impl Administrator
impl Administrator
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account identifier of the Detective administrator account for the organization.
sourcepub fn delegation_time(&self) -> Option<&DateTime>
pub fn delegation_time(&self) -> Option<&DateTime>
The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
source§impl Administrator
impl Administrator
sourcepub fn builder() -> AdministratorBuilder
pub fn builder() -> AdministratorBuilder
Creates a new builder-style object to manufacture Administrator
.
Trait Implementations§
source§impl Clone for Administrator
impl Clone for Administrator
source§fn clone(&self) -> Administrator
fn clone(&self) -> Administrator
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 Administrator
impl Debug for Administrator
source§impl PartialEq for Administrator
impl PartialEq for Administrator
source§fn eq(&self, other: &Administrator) -> bool
fn eq(&self, other: &Administrator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Administrator
Auto Trait Implementations§
impl Freeze for Administrator
impl RefUnwindSafe for Administrator
impl Send for Administrator
impl Sync for Administrator
impl Unpin for Administrator
impl UnwindSafe for Administrator
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.