pub struct ObjectHypothesis {
pub class_id: String,
pub score: f64,
}Fields§
§class_id: String§score: f64Trait Implementations§
Source§impl Clone for ObjectHypothesis
impl Clone for ObjectHypothesis
Source§fn clone(&self) -> ObjectHypothesis
fn clone(&self) -> ObjectHypothesis
Returns a duplicate 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 ObjectHypothesis
impl Debug for ObjectHypothesis
Source§impl Default for ObjectHypothesis
impl Default for ObjectHypothesis
Source§impl<'de> Deserialize<'de> for ObjectHypothesis
impl<'de> Deserialize<'de> for ObjectHypothesis
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 ObjectHypothesis
impl PartialEq for ObjectHypothesis
Source§impl Serialize for ObjectHypothesis
impl Serialize for ObjectHypothesis
impl Message for ObjectHypothesis
impl StructuralPartialEq for ObjectHypothesis
Auto Trait Implementations§
impl Freeze for ObjectHypothesis
impl RefUnwindSafe for ObjectHypothesis
impl Send for ObjectHypothesis
impl Sync for ObjectHypothesis
impl Unpin for ObjectHypothesis
impl UnwindSafe for ObjectHypothesis
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