pub struct PatchDataSet {
pub external_id: Option<UpdateSetNull<String>>,
pub name: Option<UpdateSetNull<String>>,
pub description: Option<UpdateSetNull<String>>,
pub metadata: Option<UpdateMap<String, String>>,
}Expand description
Update data sets.
Fields§
§external_id: Option<UpdateSetNull<String>>Data set external ID. Must be unique within the project.
name: Option<UpdateSetNull<String>>Data set name.
description: Option<UpdateSetNull<String>>Data set description.
metadata: Option<UpdateMap<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.
Trait Implementations§
Source§impl Clone for PatchDataSet
impl Clone for PatchDataSet
Source§fn clone(&self) -> PatchDataSet
fn clone(&self) -> PatchDataSet
Returns a duplicate 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 Debug for PatchDataSet
impl Debug for PatchDataSet
Source§impl Default for PatchDataSet
impl Default for PatchDataSet
Source§fn default() -> PatchDataSet
fn default() -> PatchDataSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchDataSet
impl<'de> Deserialize<'de> for PatchDataSet
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 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 PatchDataSet
impl RefUnwindSafe for PatchDataSet
impl Send for PatchDataSet
impl Sync for PatchDataSet
impl Unpin for PatchDataSet
impl UnwindSafe for PatchDataSet
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