pub struct GpuList {
pub gpus: Option<Vec<GpuView>>,
}Fields§
§gpus: Option<Vec<GpuView>>GPUs is every accelerator the org has, from Visor GPU droplets and from BYO workers alike.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GpuList
impl<'de> Deserialize<'de> for GpuList
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
impl StructuralPartialEq for GpuList
Auto Trait Implementations§
impl Freeze for GpuList
impl RefUnwindSafe for GpuList
impl Send for GpuList
impl Sync for GpuList
impl Unpin for GpuList
impl UnsafeUnpin for GpuList
impl UnwindSafe for GpuList
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