#[non_exhaustive]pub struct RayOperatorConfig {
pub enabled: bool,
pub ray_cluster_logging_config: Option<RayClusterLoggingConfig>,
pub ray_cluster_monitoring_config: Option<RayClusterMonitoringConfig>,
}Expand description
Configuration options for the Ray Operator add-on.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolWhether the Ray Operator addon is enabled for this cluster.
ray_cluster_logging_config: Option<RayClusterLoggingConfig>Optional. Logging configuration for Ray clusters.
ray_cluster_monitoring_config: Option<RayClusterMonitoringConfig>Optional. Monitoring configuration for Ray clusters.
Implementations§
Source§impl RayOperatorConfig
impl RayOperatorConfig
Sourcepub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of enabled.
Sourcepub fn set_ray_cluster_logging_config<T: Into<Option<RayClusterLoggingConfig>>>(
self,
v: T,
) -> Self
pub fn set_ray_cluster_logging_config<T: Into<Option<RayClusterLoggingConfig>>>( self, v: T, ) -> Self
Sets the value of ray_cluster_logging_config.
Sourcepub fn set_ray_cluster_monitoring_config<T: Into<Option<RayClusterMonitoringConfig>>>(
self,
v: T,
) -> Self
pub fn set_ray_cluster_monitoring_config<T: Into<Option<RayClusterMonitoringConfig>>>( self, v: T, ) -> Self
Sets the value of ray_cluster_monitoring_config.
Trait Implementations§
Source§impl Clone for RayOperatorConfig
impl Clone for RayOperatorConfig
Source§fn clone(&self) -> RayOperatorConfig
fn clone(&self) -> RayOperatorConfig
Returns a copy 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 RayOperatorConfig
impl Debug for RayOperatorConfig
Source§impl Default for RayOperatorConfig
impl Default for RayOperatorConfig
Source§fn default() -> RayOperatorConfig
fn default() -> RayOperatorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RayOperatorConfigwhere
RayOperatorConfig: Default,
impl<'de> Deserialize<'de> for RayOperatorConfigwhere
RayOperatorConfig: Default,
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 Message for RayOperatorConfig
impl Message for RayOperatorConfig
Source§impl PartialEq for RayOperatorConfig
impl PartialEq for RayOperatorConfig
Source§impl Serialize for RayOperatorConfig
impl Serialize for RayOperatorConfig
impl StructuralPartialEq for RayOperatorConfig
Auto Trait Implementations§
impl Freeze for RayOperatorConfig
impl RefUnwindSafe for RayOperatorConfig
impl Send for RayOperatorConfig
impl Sync for RayOperatorConfig
impl Unpin for RayOperatorConfig
impl UnwindSafe for RayOperatorConfig
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