pub struct PatchSequence {
pub name: Option<UpdateSetNull<String>>,
pub description: Option<UpdateSetNull<String>>,
pub asset_id: Option<UpdateSetNull<i64>>,
pub external_id: Option<UpdateSetNull<String>>,
pub metadata: Option<UpdateMap<String, String>>,
pub data_set_id: Option<UpdateSetNull<i64>>,
pub columns: Option<UpdateSequenceColumns>,
}Expand description
Update a sequence.
Fields§
§name: Option<UpdateSetNull<String>>Name of the sequence.
description: Option<UpdateSetNull<String>>Description of the sequence.
asset_id: Option<UpdateSetNull<i64>>ID of asset this sequence belongs to.
external_id: Option<UpdateSetNull<String>>External ID of the sequence. Must be unique within the project.
metadata: Option<UpdateMap<String, String>>Custom, application specific metadata. String key -> String value. Maximum length of key is 128 bytes, up to 256 key-value pairs, up to a total size of 10000 bytes across all keys and values.
data_set_id: Option<UpdateSetNull<i64>>ID of the data set this sequence belongs to.
columns: Option<UpdateSequenceColumns>List of columns in this sequence.
Trait Implementations§
Source§impl Clone for PatchSequence
impl Clone for PatchSequence
Source§fn clone(&self) -> PatchSequence
fn clone(&self) -> PatchSequence
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 PatchSequence
impl Debug for PatchSequence
Source§impl Default for PatchSequence
impl Default for PatchSequence
Source§fn default() -> PatchSequence
fn default() -> PatchSequence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchSequence
impl<'de> Deserialize<'de> for PatchSequence
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<PatchSequence> for AddSequence
impl IntoPatch<PatchSequence> for AddSequence
Source§fn patch(self, options: &UpsertOptions) -> PatchSequence
fn patch(self, options: &UpsertOptions) -> PatchSequence
Convert self into a patch, optionally ignoring null values.
Auto Trait Implementations§
impl Freeze for PatchSequence
impl RefUnwindSafe for PatchSequence
impl Send for PatchSequence
impl Sync for PatchSequence
impl Unpin for PatchSequence
impl UnwindSafe for PatchSequence
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