pub struct UpdateOutcome {
pub global: bool,
pub updated: usize,
pub failed: usize,
pub updated_names: Vec<String>,
pub failures: Vec<String>,
}Expand description
Result of Manager::update.
Fields§
§global: boolWhether the update used global scope.
updated: usizeNumber of successful updates (one count per skill).
failed: usizeNumber of failed updates.
updated_names: Vec<String>Names of skills that were updated.
failures: Vec<String>Human-readable failure messages.
Trait Implementations§
Source§impl Debug for UpdateOutcome
impl Debug for UpdateOutcome
Source§impl Default for UpdateOutcome
impl Default for UpdateOutcome
Source§fn default() -> UpdateOutcome
fn default() -> UpdateOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateOutcome
impl RefUnwindSafe for UpdateOutcome
impl Send for UpdateOutcome
impl Sync for UpdateOutcome
impl Unpin for UpdateOutcome
impl UnsafeUnpin for UpdateOutcome
impl UnwindSafe for UpdateOutcome
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