pub struct WorkerList {
pub workers: Option<Vec<ByoWorker>>,
}Fields§
§workers: Option<Vec<ByoWorker>>Workers is one row per connected BYO machine, each carrying the host’s own report (GPUs, driver versions, capabilities) rather than a normalized view.
Implementations§
Source§impl WorkerList
impl WorkerList
pub fn new() -> WorkerList
Trait Implementations§
Source§impl Clone for WorkerList
impl Clone for WorkerList
Source§fn clone(&self) -> WorkerList
fn clone(&self) -> WorkerList
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 WorkerList
impl Debug for WorkerList
Source§impl Default for WorkerList
impl Default for WorkerList
Source§fn default() -> WorkerList
fn default() -> WorkerList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkerList
impl<'de> Deserialize<'de> for WorkerList
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
Source§impl PartialEq for WorkerList
impl PartialEq for WorkerList
Source§impl Serialize for WorkerList
impl Serialize for WorkerList
impl StructuralPartialEq for WorkerList
Auto Trait Implementations§
impl Freeze for WorkerList
impl RefUnwindSafe for WorkerList
impl Send for WorkerList
impl Sync for WorkerList
impl Unpin for WorkerList
impl UnsafeUnpin for WorkerList
impl UnwindSafe for WorkerList
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