pub struct AddSequence {
pub external_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub asset_id: Option<i64>,
pub metadata: Option<HashMap<String, String>>,
pub columns: Vec<SequenceColumn>,
pub data_set_id: Option<i64>,
}Expand description
Create a new sequence.
Fields§
§external_id: Option<String>External ID of the sequence. Must be unique within the project.
name: Option<String>Name of the sequence.
description: Option<String>Description of the sequence.
asset_id: Option<i64>ID of asset this sequence belongs to.
metadata: Option<HashMap<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.
columns: Vec<SequenceColumn>List of columns in this sequence.
data_set_id: Option<i64>ID of the data set this sequence belongs to.
Trait Implementations§
Source§impl Clone for AddSequence
impl Clone for AddSequence
Source§fn clone(&self) -> AddSequence
fn clone(&self) -> AddSequence
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 Create<AddSequence, Sequence> for SequencesResource
impl Create<AddSequence, Sequence> for SequencesResource
Source§fn create(
&self,
creates: &[TCreate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn create( &self, creates: &[TCreate], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Create a list of resources. Read more
Source§fn create_from(
&self,
creates: &[impl Into<TCreate> + Sync + Clone],
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn create_from( &self, creates: &[impl Into<TCreate> + Sync + Clone], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Create a list of resources, converting from a different type. Read more
Source§fn create_ignore_duplicates(
&self,
creates: &[TCreate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TCreate: EqIdentity,
fn create_ignore_duplicates(
&self,
creates: &[TCreate],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TCreate: EqIdentity,
Create a list of resources, ignoring any that fail with general “conflict” errors. Read more
Source§fn create_from_ignore_duplicates<'a, T: 'a>(
&self,
creates: &'a [impl Into<TCreate> + Sync + Clone],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TCreate: EqIdentity,
fn create_from_ignore_duplicates<'a, T: 'a>(
&self,
creates: &'a [impl Into<TCreate> + Sync + Clone],
) -> impl Future<Output = Result<Vec<TResponse>>> + Sendwhere
TCreate: EqIdentity,
Create a list of resources, converting from a different type, and ignoring any that fail
with general “conflict” errors. Read more
Source§impl Debug for AddSequence
impl Debug for AddSequence
Source§impl Default for AddSequence
impl Default for AddSequence
Source§fn default() -> AddSequence
fn default() -> AddSequence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddSequence
impl<'de> Deserialize<'de> for AddSequence
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 EqIdentity for AddSequence
impl EqIdentity for AddSequence
Source§impl From<Sequence> for AddSequence
impl From<Sequence> for AddSequence
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 AddSequence
impl RefUnwindSafe for AddSequence
impl Send for AddSequence
impl Sync for AddSequence
impl Unpin for AddSequence
impl UnwindSafe for AddSequence
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