pub struct WorkgroupStatus {
pub workgroup_id: GrainId,
pub name: String,
pub devices: usize,
}Expand description
The workgroup this host belongs to.
Fields§
§workgroup_id: GrainIdIts id.
name: StringIts name.
devices: usizeHow many non-retired devices it has.
Trait Implementations§
Source§impl Clone for WorkgroupStatus
impl Clone for WorkgroupStatus
Source§impl Debug for WorkgroupStatus
impl Debug for WorkgroupStatus
Source§impl<'de> Deserialize<'de> for WorkgroupStatus
impl<'de> Deserialize<'de> for WorkgroupStatus
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 WorkgroupStatus
impl RefUnwindSafe for WorkgroupStatus
impl Send for WorkgroupStatus
impl Sync for WorkgroupStatus
impl Unpin for WorkgroupStatus
impl UnsafeUnpin for WorkgroupStatus
impl UnwindSafe for WorkgroupStatus
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