pub struct TrainPredictResponse {
pub prediction_result: Option<PredictionResult>,
pub status: String,
}Fields§
§prediction_result: Option<PredictionResult>§status: StringThe status.
Implementations§
Source§impl TrainPredictResponse
impl TrainPredictResponse
pub fn new(status: String) -> TrainPredictResponse
Trait Implementations§
Source§impl Clone for TrainPredictResponse
impl Clone for TrainPredictResponse
Source§fn clone(&self) -> TrainPredictResponse
fn clone(&self) -> TrainPredictResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrainPredictResponse
impl Debug for TrainPredictResponse
Source§impl Default for TrainPredictResponse
impl Default for TrainPredictResponse
Source§fn default() -> TrainPredictResponse
fn default() -> TrainPredictResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrainPredictResponse
impl<'de> Deserialize<'de> for TrainPredictResponse
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 PartialEq for TrainPredictResponse
impl PartialEq for TrainPredictResponse
Source§fn eq(&self, other: &TrainPredictResponse) -> bool
fn eq(&self, other: &TrainPredictResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrainPredictResponse
impl Serialize for TrainPredictResponse
impl StructuralPartialEq for TrainPredictResponse
Auto Trait Implementations§
impl Freeze for TrainPredictResponse
impl RefUnwindSafe for TrainPredictResponse
impl Send for TrainPredictResponse
impl Sync for TrainPredictResponse
impl Unpin for TrainPredictResponse
impl UnsafeUnpin for TrainPredictResponse
impl UnwindSafe for TrainPredictResponse
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