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