Struct reinfer_client::resources::comment::Prediction
source · pub struct Prediction {
pub uid: Uid,
pub labels: Option<Vec<AutoThresholdLabel>>,
pub entities: Option<Vec<Entity>>,
}
Fields§
§uid: Uid
§labels: Option<Vec<AutoThresholdLabel>>
§entities: Option<Vec<Entity>>
Trait Implementations§
source§impl Clone for Prediction
impl Clone for Prediction
source§fn clone(&self) -> Prediction
fn clone(&self) -> Prediction
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 Prediction
impl Debug for Prediction
source§impl<'de> Deserialize<'de> for Prediction
impl<'de> Deserialize<'de> for Prediction
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 Prediction
impl PartialEq for Prediction
source§fn eq(&self, other: &Prediction) -> bool
fn eq(&self, other: &Prediction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Prediction
impl Serialize for Prediction
impl Eq for Prediction
impl StructuralPartialEq for Prediction
Auto Trait Implementations§
impl Freeze for Prediction
impl RefUnwindSafe for Prediction
impl Send for Prediction
impl Sync for Prediction
impl Unpin for Prediction
impl UnwindSafe for Prediction
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.