pub struct DataSet {
pub id: i64,
pub created_time: i64,
pub last_updated_time: i64,
pub external_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub metadata: Option<HashMap<String, String>>,
pub write_protected: bool,
}Expand description
A data set grouping data in CDF.
Fields§
§id: i64Data set internal ID.
created_time: i64Time this data set was created, in milliseconds since epoch.
last_updated_time: i64Time this data set was last modified, in milliseconds since epoch.
external_id: Option<String>Data set external ID. Must be unique within the project.
name: Option<String>Human readable data set name.
description: Option<String>Data set description.
metadata: Option<HashMap<String, String>>Custom, application specific metadata. String key -> String value. Limits: Maximum length of key is 128 bytes, value 10240 bytes, up to 256 key-value pairs, of total size at most 10240.
write_protected: boolTo write data to a write-protected data set, you need to be a member of a group that has the “datasets:owner” action for the data set.
Trait Implementations§
Source§impl Create<AddDataSet, DataSet> for DataSetsResource
impl Create<AddDataSet, DataSet> for DataSetsResource
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
Source§impl FilterItems<DataSetFilter, DataSet> for DataSetsResource
impl FilterItems<DataSetFilter, DataSet> for DataSetsResource
Source§impl From<DataSet> for AddDataSet
impl From<DataSet> for AddDataSet
Source§impl IntoPatch<Patch<PatchDataSet>> for DataSet
impl IntoPatch<Patch<PatchDataSet>> for DataSet
Source§fn patch(self, options: &UpsertOptions) -> Patch<PatchDataSet>
fn patch(self, options: &UpsertOptions) -> Patch<PatchDataSet>
Convert self into a patch, optionally ignoring null values.
Source§impl<R> RetrieveWithIgnoreUnknownIds<IdentityList<R>, DataSet> for DataSetsResource
impl<R> RetrieveWithIgnoreUnknownIds<IdentityList<R>, DataSet> for DataSetsResource
Source§impl Update<Patch<PatchDataSet>, DataSet> for DataSetsResource
impl Update<Patch<PatchDataSet>, DataSet> for DataSetsResource
Source§fn update(
&self,
updates: &[TUpdate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn update( &self, updates: &[TUpdate], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Update a list of resources. Read more
Source§fn update_from<'a, T>(
&self,
updates: &'a [T],
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn update_from<'a, T>( &self, updates: &'a [T], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Update a list of resources by converting to the update from a different type. Read more
Source§fn update_ignore_unknown_ids(
&self,
updates: &[TUpdate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TUpdate: EqIdentity,
TResponse: Send,
fn update_ignore_unknown_ids(
&self,
updates: &[TUpdate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TUpdate: EqIdentity,
TResponse: Send,
Update a list of resources, ignoring any that fail due to items missing in CDF. Read more
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