Enum forust_ml::objective::ObjectiveType
source · [−]pub enum ObjectiveType {
LogLoss,
SquaredLoss,
}Variants
LogLoss
SquaredLoss
Trait Implementations
sourceimpl Debug for ObjectiveType
impl Debug for ObjectiveType
sourceimpl<'de> Deserialize<'de> for ObjectiveType
impl<'de> Deserialize<'de> for ObjectiveType
sourcefn 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
sourceimpl Serialize for ObjectiveType
impl Serialize for ObjectiveType
Auto Trait Implementations
impl RefUnwindSafe for ObjectiveType
impl Send for ObjectiveType
impl Sync for ObjectiveType
impl Unpin for ObjectiveType
impl UnwindSafe for ObjectiveType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more