Struct cohere_rust::api::classify::LabelProperties
source · pub struct LabelProperties {
pub confidence: f64,
}
Fields§
§confidence: f64
Trait Implementations§
source§impl Debug for LabelProperties
impl Debug for LabelProperties
source§impl<'de> Deserialize<'de> for LabelProperties
impl<'de> Deserialize<'de> for LabelProperties
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 LabelProperties
impl PartialEq for LabelProperties
source§fn eq(&self, other: &LabelProperties) -> bool
fn eq(&self, other: &LabelProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LabelProperties
Auto Trait Implementations§
impl RefUnwindSafe for LabelProperties
impl Send for LabelProperties
impl Sync for LabelProperties
impl Unpin for LabelProperties
impl UnwindSafe for LabelProperties
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