pub struct Dataset {Show 16 fields
pub id: Id,
pub name: Name,
pub owner: Username,
pub title: String,
pub description: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub model_family: ModelFamily,
pub source_ids: Vec<Id>,
pub has_sentiment: bool,
pub entity_defs: Vec<EntityDef>,
pub general_fields: Vec<GeneralFieldDef>,
pub label_defs: Vec<LabelDef>,
pub label_groups: Vec<LabelGroup>,
pub dataset_flags: Vec<DatasetFlag>,
pub model_config: ModelConfig,
}
Fields§
§id: Id
§name: Name
§owner: Username
§title: String
§description: String
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§model_family: ModelFamily
§source_ids: Vec<Id>
§has_sentiment: bool
§entity_defs: Vec<EntityDef>
§general_fields: Vec<GeneralFieldDef>
§label_defs: Vec<LabelDef>
§label_groups: Vec<LabelGroup>
§dataset_flags: Vec<DatasetFlag>
§model_config: ModelConfig
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dataset
impl<'de> Deserialize<'de> for Dataset
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
impl Eq for Dataset
impl StructuralPartialEq for Dataset
Auto Trait Implementations§
impl Freeze for Dataset
impl RefUnwindSafe for Dataset
impl Send for Dataset
impl Sync for Dataset
impl Unpin for Dataset
impl UnwindSafe for Dataset
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.