#[non_exhaustive]pub struct DomainStatsBuilder { /* private fields */ }
Expand description
A builder for DomainStats
.
Implementations§
source§impl DomainStatsBuilder
impl DomainStatsBuilder
sourcepub fn profile_count(self, input: i64) -> Self
pub fn profile_count(self, input: i64) -> Self
The total number of profiles currently in the domain.
sourcepub fn set_profile_count(self, input: Option<i64>) -> Self
pub fn set_profile_count(self, input: Option<i64>) -> Self
The total number of profiles currently in the domain.
sourcepub fn get_profile_count(&self) -> &Option<i64>
pub fn get_profile_count(&self) -> &Option<i64>
The total number of profiles currently in the domain.
sourcepub fn metering_profile_count(self, input: i64) -> Self
pub fn metering_profile_count(self, input: i64) -> Self
The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
sourcepub fn set_metering_profile_count(self, input: Option<i64>) -> Self
pub fn set_metering_profile_count(self, input: Option<i64>) -> Self
The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
sourcepub fn get_metering_profile_count(&self) -> &Option<i64>
pub fn get_metering_profile_count(&self) -> &Option<i64>
The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
sourcepub fn object_count(self, input: i64) -> Self
pub fn object_count(self, input: i64) -> Self
The total number of objects in domain.
sourcepub fn set_object_count(self, input: Option<i64>) -> Self
pub fn set_object_count(self, input: Option<i64>) -> Self
The total number of objects in domain.
sourcepub fn get_object_count(&self) -> &Option<i64>
pub fn get_object_count(&self) -> &Option<i64>
The total number of objects in domain.
sourcepub fn total_size(self, input: i64) -> Self
pub fn total_size(self, input: i64) -> Self
The total size, in bytes, of all objects in the domain.
sourcepub fn set_total_size(self, input: Option<i64>) -> Self
pub fn set_total_size(self, input: Option<i64>) -> Self
The total size, in bytes, of all objects in the domain.
sourcepub fn get_total_size(&self) -> &Option<i64>
pub fn get_total_size(&self) -> &Option<i64>
The total size, in bytes, of all objects in the domain.
sourcepub fn build(self) -> DomainStats
pub fn build(self) -> DomainStats
Consumes the builder and constructs a DomainStats
.
Trait Implementations§
source§impl Clone for DomainStatsBuilder
impl Clone for DomainStatsBuilder
source§fn clone(&self) -> DomainStatsBuilder
fn clone(&self) -> DomainStatsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainStatsBuilder
impl Debug for DomainStatsBuilder
source§impl Default for DomainStatsBuilder
impl Default for DomainStatsBuilder
source§fn default() -> DomainStatsBuilder
fn default() -> DomainStatsBuilder
source§impl PartialEq for DomainStatsBuilder
impl PartialEq for DomainStatsBuilder
source§fn eq(&self, other: &DomainStatsBuilder) -> bool
fn eq(&self, other: &DomainStatsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainStatsBuilder
Auto Trait Implementations§
impl Freeze for DomainStatsBuilder
impl RefUnwindSafe for DomainStatsBuilder
impl Send for DomainStatsBuilder
impl Sync for DomainStatsBuilder
impl Unpin for DomainStatsBuilder
impl UnwindSafe for DomainStatsBuilder
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> 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