pub struct IngestClassification {
pub task: IngestEntity,
pub labels: IngestEntityList,
pub threshold: Option<IngestThreshold>,
pub cls_threshold: Option<IngestThreshold>,
pub multi_label: Option<bool>,
pub label_descriptions: Option<BTreeMap<String, IngestEntityProperty>>,
}Fields§
§task: IngestEntity§labels: IngestEntityList§threshold: Option<IngestThreshold>§cls_threshold: Option<IngestThreshold>§multi_label: Option<bool>§label_descriptions: Option<BTreeMap<String, IngestEntityProperty>>Trait Implementations§
Source§impl Clone for IngestClassification
impl Clone for IngestClassification
Source§fn clone(&self) -> IngestClassification
fn clone(&self) -> IngestClassification
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 IngestClassification
impl Debug for IngestClassification
Source§impl<'de> Deserialize<'de> for IngestClassification
impl<'de> Deserialize<'de> for IngestClassification
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 IngestClassification
impl PartialEq for IngestClassification
Source§impl Serialize for IngestClassification
impl Serialize for IngestClassification
impl StructuralPartialEq for IngestClassification
Auto Trait Implementations§
impl Freeze for IngestClassification
impl RefUnwindSafe for IngestClassification
impl Send for IngestClassification
impl Sync for IngestClassification
impl Unpin for IngestClassification
impl UnsafeUnpin for IngestClassification
impl UnwindSafe for IngestClassification
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