pub struct Dataset {
pub id: String,
pub name: String,
pub description: Option<Option<String>>,
pub metadata: Option<Option<Value>>,
pub input_schema: Option<Option<Value>>,
pub expected_output_schema: Option<Option<Value>>,
pub project_id: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§name: String§description: Option<Option<String>>§metadata: Option<Option<Value>>§input_schema: Option<Option<Value>>JSON Schema for validating dataset item inputs
expected_output_schema: Option<Option<Value>>JSON Schema for validating dataset item expected outputs
project_id: String§created_at: String§updated_at: StringImplementations§
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 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)