pub struct AlterResult(pub usize, pub Option<Vec<Metric>>);
Expand description
The AlterResult
struct is used to represent the result of an
alteration operation. It contains the number of operations
performed and a vector of metrics that were collected
during the alteration process.
Tuple Fields§
§0: usize
§1: Option<Vec<Metric>>
Implementations§
Trait Implementations§
Source§impl Default for AlterResult
impl Default for AlterResult
Source§fn default() -> AlterResult
fn default() -> AlterResult
Returns the “default value” for a type. Read more
Source§impl Into<AlterResult> for (usize, Metric)
impl Into<AlterResult> for (usize, Metric)
Source§fn into(self) -> AlterResult
fn into(self) -> AlterResult
Converts this type into the (usually inferred) input type.
Source§impl Into<AlterResult> for (usize, Vec<Metric>)
impl Into<AlterResult> for (usize, Vec<Metric>)
Source§fn into(self) -> AlterResult
fn into(self) -> AlterResult
Converts this type into the (usually inferred) input type.
Source§impl Into<AlterResult> for usize
impl Into<AlterResult> for usize
Source§fn into(self) -> AlterResult
fn into(self) -> AlterResult
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for AlterResult
impl RefUnwindSafe for AlterResult
impl Send for AlterResult
impl Sync for AlterResult
impl Unpin for AlterResult
impl UnwindSafe for AlterResult
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