Struct aws_sdk_cognitosync::types::IdentityPoolUsage
source · #[non_exhaustive]pub struct IdentityPoolUsage {
pub identity_pool_id: Option<String>,
pub sync_sessions_count: Option<i64>,
pub data_storage: Option<i64>,
pub last_modified_date: Option<DateTime>,
}
Expand description
Usage information for the identity pool.
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.identity_pool_id: Option<String>
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
sync_sessions_count: Option<i64>
Number of sync sessions for the identity pool.
data_storage: Option<i64>
Data storage information for the identity pool.
last_modified_date: Option<DateTime>
Date on which the identity pool was last modified.
Implementations§
source§impl IdentityPoolUsage
impl IdentityPoolUsage
sourcepub fn identity_pool_id(&self) -> Option<&str>
pub fn identity_pool_id(&self) -> Option<&str>
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
sourcepub fn sync_sessions_count(&self) -> Option<i64>
pub fn sync_sessions_count(&self) -> Option<i64>
Number of sync sessions for the identity pool.
sourcepub fn data_storage(&self) -> Option<i64>
pub fn data_storage(&self) -> Option<i64>
Data storage information for the identity pool.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
Date on which the identity pool was last modified.
source§impl IdentityPoolUsage
impl IdentityPoolUsage
sourcepub fn builder() -> IdentityPoolUsageBuilder
pub fn builder() -> IdentityPoolUsageBuilder
Creates a new builder-style object to manufacture IdentityPoolUsage
.
Trait Implementations§
source§impl Clone for IdentityPoolUsage
impl Clone for IdentityPoolUsage
source§fn clone(&self) -> IdentityPoolUsage
fn clone(&self) -> IdentityPoolUsage
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 IdentityPoolUsage
impl Debug for IdentityPoolUsage
source§impl PartialEq for IdentityPoolUsage
impl PartialEq for IdentityPoolUsage
source§fn eq(&self, other: &IdentityPoolUsage) -> bool
fn eq(&self, other: &IdentityPoolUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IdentityPoolUsage
Auto Trait Implementations§
impl Freeze for IdentityPoolUsage
impl RefUnwindSafe for IdentityPoolUsage
impl Send for IdentityPoolUsage
impl Sync for IdentityPoolUsage
impl Unpin for IdentityPoolUsage
impl UnwindSafe for IdentityPoolUsage
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.