pub struct AddRowOptions {
pub key: Option<String>,
pub after_key: Option<String>,
pub value: Option<Value>,
}Expand description
Values, identity and insertion position for an added or copied row.
Fields§
§key: Option<String>Supplied row key; omitted to generate a new key.
after_key: Option<String>Existing row after which insertion occurs; omitted to append.
value: Option<Value>Initial value; omitted to apply field defaults.
Trait Implementations§
Source§impl Clone for AddRowOptions
impl Clone for AddRowOptions
Source§fn clone(&self) -> AddRowOptions
fn clone(&self) -> AddRowOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddRowOptions
impl Debug for AddRowOptions
Source§impl Default for AddRowOptions
impl Default for AddRowOptions
Source§fn default() -> AddRowOptions
fn default() -> AddRowOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddRowOptions
impl<'de> Deserialize<'de> for AddRowOptions
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
Auto Trait Implementations§
impl Freeze for AddRowOptions
impl RefUnwindSafe for AddRowOptions
impl Send for AddRowOptions
impl Sync for AddRowOptions
impl Unpin for AddRowOptions
impl UnsafeUnpin for AddRowOptions
impl UnwindSafe for AddRowOptions
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