#[non_exhaustive]pub struct IdentityMappingEntryOperationMetadata {
pub success_count: i64,
pub failure_count: i64,
pub total_count: i64,
/* private fields */
}Available on crate feature
identity-mapping-store-service only.Expand description
IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings
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.success_count: i64The number of IdentityMappingEntries that were successfully processed.
failure_count: i64The number of IdentityMappingEntries that failed to be processed.
total_count: i64The total number of IdentityMappingEntries that were processed.
Implementations§
Source§impl IdentityMappingEntryOperationMetadata
impl IdentityMappingEntryOperationMetadata
pub fn new() -> Self
Sourcepub fn set_success_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_success_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of success_count.
§Example
ⓘ
let x = IdentityMappingEntryOperationMetadata::new().set_success_count(42);Sourcepub fn set_failure_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_failure_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of failure_count.
§Example
ⓘ
let x = IdentityMappingEntryOperationMetadata::new().set_failure_count(42);Sourcepub fn set_total_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_total_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of total_count.
§Example
ⓘ
let x = IdentityMappingEntryOperationMetadata::new().set_total_count(42);Trait Implementations§
Source§impl Clone for IdentityMappingEntryOperationMetadata
impl Clone for IdentityMappingEntryOperationMetadata
Source§fn clone(&self) -> IdentityMappingEntryOperationMetadata
fn clone(&self) -> IdentityMappingEntryOperationMetadata
Returns a duplicate 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 Default for IdentityMappingEntryOperationMetadata
impl Default for IdentityMappingEntryOperationMetadata
Source§fn default() -> IdentityMappingEntryOperationMetadata
fn default() -> IdentityMappingEntryOperationMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for IdentityMappingEntryOperationMetadata
impl PartialEq for IdentityMappingEntryOperationMetadata
Source§fn eq(&self, other: &IdentityMappingEntryOperationMetadata) -> bool
fn eq(&self, other: &IdentityMappingEntryOperationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IdentityMappingEntryOperationMetadata
Auto Trait Implementations§
impl Freeze for IdentityMappingEntryOperationMetadata
impl RefUnwindSafe for IdentityMappingEntryOperationMetadata
impl Send for IdentityMappingEntryOperationMetadata
impl Sync for IdentityMappingEntryOperationMetadata
impl Unpin for IdentityMappingEntryOperationMetadata
impl UnwindSafe for IdentityMappingEntryOperationMetadata
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