pub struct ToolBucket {
pub tool: String,
pub use_count: usize,
pub error_count: usize,
pub session_count: usize,
}Fields§
§tool: String§use_count: usize§error_count: usize§session_count: usizeTrait Implementations§
Source§impl Debug for ToolBucket
impl Debug for ToolBucket
Source§impl Default for ToolBucket
impl Default for ToolBucket
Source§fn default() -> ToolBucket
fn default() -> ToolBucket
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolBucket
impl RefUnwindSafe for ToolBucket
impl Send for ToolBucket
impl Sync for ToolBucket
impl Unpin for ToolBucket
impl UnsafeUnpin for ToolBucket
impl UnwindSafe for ToolBucket
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more