pub struct NodeGpuConfig {
pub vendor: String,
pub count: u32,
pub model: Option<String>,
}Fields§
§vendor: StringVendor: “nvidia” or “amd”.
count: u32Number of GPUs of this type.
model: Option<String>Model name for scheduling (e.g., “A100”, “RTX4090”).
Trait Implementations§
Source§impl Clone for NodeGpuConfig
impl Clone for NodeGpuConfig
Source§fn clone(&self) -> NodeGpuConfig
fn clone(&self) -> NodeGpuConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeGpuConfig
impl Debug for NodeGpuConfig
Source§impl<'de> Deserialize<'de> for NodeGpuConfig
impl<'de> Deserialize<'de> for NodeGpuConfig
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 NodeGpuConfig
impl RefUnwindSafe for NodeGpuConfig
impl Send for NodeGpuConfig
impl Sync for NodeGpuConfig
impl Unpin for NodeGpuConfig
impl UnsafeUnpin for NodeGpuConfig
impl UnwindSafe for NodeGpuConfig
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