Struct decthings_api::rpc::dataset::CreateDatasetParams
source · pub struct CreateDatasetParams<'a> {
pub name: &'a str,
pub description: &'a str,
pub tags: Option<&'a [TagProvider<'a>]>,
pub rules: &'a [&'a DecthingsParameterDefinition],
}
Fields§
§name: &'a str
The dataset’s name.
description: &'a str
A description of the dataset.
Tags are used to specify things like dataset type (image classification, etc.) and other metadata.
rules: &'a [&'a DecthingsParameterDefinition]
Each key contains separate data, allowing you to mix multiple types. For example, for an image dataset you could have an “image” of type image, and “label” of type string.
Trait Implementations§
source§impl<'a> Clone for CreateDatasetParams<'a>
impl<'a> Clone for CreateDatasetParams<'a>
source§fn clone(&self) -> CreateDatasetParams<'a>
fn clone(&self) -> CreateDatasetParams<'a>
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<'a> Debug for CreateDatasetParams<'a>
impl<'a> Debug for CreateDatasetParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateDatasetParams<'a>
impl<'a> RefUnwindSafe for CreateDatasetParams<'a>
impl<'a> Send for CreateDatasetParams<'a>
impl<'a> Sync for CreateDatasetParams<'a>
impl<'a> Unpin for CreateDatasetParams<'a>
impl<'a> UnwindSafe for CreateDatasetParams<'a>
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