pub struct RecoveryActivity {
pub activity_type: &'static str,
pub attempt: u32,
pub max_attempts: u32,
pub status: RecoveryStatus,
pub message: String,
pub errors: Vec<ValidationError>,
}Expand description
What happened on one attempt.
Fields§
§activity_type: &'static strAlways A2UI_RECOVERY_ACTIVITY_TYPE, so callers can route on it.
attempt: u321-based attempt number.
max_attempts: u32Total attempts allowed.
status: RecoveryStatusHow the attempt ended.
message: StringA sentence describing this step, suitable for showing to a user.
errors: Vec<ValidationError>Validation failures from this attempt, empty on success.
Trait Implementations§
Source§impl Clone for RecoveryActivity
impl Clone for RecoveryActivity
Source§fn clone(&self) -> RecoveryActivity
fn clone(&self) -> RecoveryActivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecoveryActivity
impl Debug for RecoveryActivity
impl Eq for RecoveryActivity
Source§impl PartialEq for RecoveryActivity
impl PartialEq for RecoveryActivity
Source§fn eq(&self, other: &RecoveryActivity) -> bool
fn eq(&self, other: &RecoveryActivity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecoveryActivity
Auto Trait Implementations§
impl Freeze for RecoveryActivity
impl RefUnwindSafe for RecoveryActivity
impl Send for RecoveryActivity
impl Sync for RecoveryActivity
impl Unpin for RecoveryActivity
impl UnsafeUnpin for RecoveryActivity
impl UnwindSafe for RecoveryActivity
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.