pub struct DashboardAgent {
pub name: String,
pub karma: i32,
}Expand description
Basic agent info shown on the dashboard.
Fields§
§name: String§karma: i32Trait Implementations§
Source§impl Clone for DashboardAgent
impl Clone for DashboardAgent
Source§fn clone(&self) -> DashboardAgent
fn clone(&self) -> DashboardAgent
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 DashboardAgent
impl Debug for DashboardAgent
Source§impl<'de> Deserialize<'de> for DashboardAgent
impl<'de> Deserialize<'de> for DashboardAgent
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
Auto Trait Implementations§
impl Freeze for DashboardAgent
impl RefUnwindSafe for DashboardAgent
impl Send for DashboardAgent
impl Sync for DashboardAgent
impl Unpin for DashboardAgent
impl UnsafeUnpin for DashboardAgent
impl UnwindSafe for DashboardAgent
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