pub struct SecretMigrationReport {
pub total_secrets: i64,
pub migrated_count: i64,
pub failed_count: i64,
pub failures: Vec<SecretMigrationFailure>,
}Fields§
§total_secrets: i64Total number of secrets found
migrated_count: i64Number of secrets successfully migrated
failed_count: i64Number of secrets that failed to migrate
failures: Vec<SecretMigrationFailure>Details of any failures encountered during migration
Implementations§
Source§impl SecretMigrationReport
impl SecretMigrationReport
pub fn new( total_secrets: i64, migrated_count: i64, failed_count: i64, failures: Vec<SecretMigrationFailure>, ) -> SecretMigrationReport
Trait Implementations§
Source§impl Clone for SecretMigrationReport
impl Clone for SecretMigrationReport
Source§fn clone(&self) -> SecretMigrationReport
fn clone(&self) -> SecretMigrationReport
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 Debug for SecretMigrationReport
impl Debug for SecretMigrationReport
Source§impl Default for SecretMigrationReport
impl Default for SecretMigrationReport
Source§fn default() -> SecretMigrationReport
fn default() -> SecretMigrationReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretMigrationReport
impl<'de> Deserialize<'de> for SecretMigrationReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecretMigrationReport
impl PartialEq for SecretMigrationReport
Source§impl Serialize for SecretMigrationReport
impl Serialize for SecretMigrationReport
impl StructuralPartialEq for SecretMigrationReport
Auto Trait Implementations§
impl Freeze for SecretMigrationReport
impl RefUnwindSafe for SecretMigrationReport
impl Send for SecretMigrationReport
impl Sync for SecretMigrationReport
impl Unpin for SecretMigrationReport
impl UnwindSafe for SecretMigrationReport
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