pub struct RayWorkerGroup {
pub nodes: Vec<String>,
pub cpus: Option<u32>,
pub gpus: Option<u32>,
pub memory_mb: Option<u32>,
}Expand description
Ray worker group definition.
Fields§
§nodes: Vec<String>Nodes in this group.
cpus: Option<u32>CPUs per worker.
gpus: Option<u32>GPUs per worker.
memory_mb: Option<u32>Memory per worker (MB).
Trait Implementations§
Source§impl Clone for RayWorkerGroup
impl Clone for RayWorkerGroup
Source§fn clone(&self) -> RayWorkerGroup
fn clone(&self) -> RayWorkerGroup
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 RayWorkerGroup
impl Debug for RayWorkerGroup
Source§impl<'de> Deserialize<'de> for RayWorkerGroup
impl<'de> Deserialize<'de> for RayWorkerGroup
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 RayWorkerGroup
impl RefUnwindSafe for RayWorkerGroup
impl Send for RayWorkerGroup
impl Sync for RayWorkerGroup
impl Unpin for RayWorkerGroup
impl UnsafeUnpin for RayWorkerGroup
impl UnwindSafe for RayWorkerGroup
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