pub struct DatasetView {
pub created_at: Option<String>,
pub description: Option<String>,
pub items: Option<i32>,
pub metadata: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub updated_at: Option<String>,
}Fields§
§created_at: Option<String>CreatedAt is when the name was first written, kept across later edits.
description: Option<String>Description is free text the org wrote about what this set measures.
items: Option<i32>Items is how many examples the set holds. It is filled only by the single read — a listing does not count, so it is absent there rather than zero.
metadata: Option<HashMap<String, Value>>Metadata is the free-form object stored with the set, echoed back verbatim.
name: Option<String>Name is the dataset’s org-unique handle and the segment that addresses it.
updated_at: Option<String>UpdatedAt is when the description or metadata last changed.
Implementations§
Source§impl DatasetView
impl DatasetView
pub fn new() -> DatasetView
Trait Implementations§
Source§impl Clone for DatasetView
impl Clone for DatasetView
Source§fn clone(&self) -> DatasetView
fn clone(&self) -> DatasetView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatasetView
impl Debug for DatasetView
Source§impl Default for DatasetView
impl Default for DatasetView
Source§fn default() -> DatasetView
fn default() -> DatasetView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatasetView
impl<'de> Deserialize<'de> for DatasetView
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 DatasetView
impl PartialEq for DatasetView
Source§impl Serialize for DatasetView
impl Serialize for DatasetView
impl StructuralPartialEq for DatasetView
Auto Trait Implementations§
impl Freeze for DatasetView
impl RefUnwindSafe for DatasetView
impl Send for DatasetView
impl Sync for DatasetView
impl Unpin for DatasetView
impl UnsafeUnpin for DatasetView
impl UnwindSafe for DatasetView
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