pub struct AddDataSet {
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
Create a CDF data set.
Fields§
§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 Debug for AddDataSet
impl Debug for AddDataSet
Source§impl Default for AddDataSet
impl Default for AddDataSet
Source§fn default() -> AddDataSet
fn default() -> AddDataSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddDataSet
impl<'de> Deserialize<'de> for AddDataSet
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 From<DataSet> for AddDataSet
impl From<DataSet> for AddDataSet
Source§impl IntoPatch<PatchDataSet> for AddDataSet
impl IntoPatch<PatchDataSet> for AddDataSet
Source§fn patch(self, options: &UpsertOptions) -> PatchDataSet
fn patch(self, options: &UpsertOptions) -> PatchDataSet
Convert self into a patch, optionally ignoring null values.
Auto Trait Implementations§
impl Freeze for AddDataSet
impl RefUnwindSafe for AddDataSet
impl Send for AddDataSet
impl Sync for AddDataSet
impl Unpin for AddDataSet
impl UnwindSafe for AddDataSet
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