#[non_exhaustive]pub struct InsertTableColumnOperation {
pub cell_id: String,
pub column_def: TableColumnDefinition,
pub index: u32,
pub values: Vec<TableRowValue>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cell_id: StringID of the table cell.
column_def: TableColumnDefinitionDefinition for the column.
index: u32The index at which to insert the column.
values: Vec<TableRowValue>The values to insert in the column.
The amount of values should match the amount of rows in the table.
Implementations§
source§impl InsertTableColumnOperation
impl InsertTableColumnOperation
sourcepub fn builder() -> InsertTableColumnOperationBuilder<((), (), (), ())>
pub fn builder() -> InsertTableColumnOperationBuilder<((), (), (), ())>
Create a builder for building InsertTableColumnOperation.
On the builder, call .cell_id(...), .column_def(...), .index(...), .values(...) to set the values of the fields.
Finally, call .build() to create the instance of InsertTableColumnOperation.
Trait Implementations§
source§impl Clone for InsertTableColumnOperation
impl Clone for InsertTableColumnOperation
source§fn clone(&self) -> InsertTableColumnOperation
fn clone(&self) -> InsertTableColumnOperation
Returns a copy 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 InsertTableColumnOperation
impl Debug for InsertTableColumnOperation
source§impl<'de> Deserialize<'de> for InsertTableColumnOperation
impl<'de> Deserialize<'de> for InsertTableColumnOperation
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 PartialEq for InsertTableColumnOperation
impl PartialEq for InsertTableColumnOperation
source§fn eq(&self, other: &InsertTableColumnOperation) -> bool
fn eq(&self, other: &InsertTableColumnOperation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for InsertTableColumnOperation
impl StructuralPartialEq for InsertTableColumnOperation
Auto Trait Implementations§
impl Freeze for InsertTableColumnOperation
impl RefUnwindSafe for InsertTableColumnOperation
impl Send for InsertTableColumnOperation
impl Sync for InsertTableColumnOperation
impl Unpin for InsertTableColumnOperation
impl UnwindSafe for InsertTableColumnOperation
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