pub struct SoftDeleteRequestValues { /* private fields */ }Expand description
Low-level request-scoped soft-delete values.
Most applications can use with_soft_delete_values(SoftDelete { ... })
with a struct derived from SoftDeleteFields. This type remains available
for callers that need to construct ColumnValues manually.
Implementations§
Source§impl SoftDeleteRequestValues
impl SoftDeleteRequestValues
Sourcepub fn new(values: Vec<ColumnValue>) -> Self
pub fn new(values: Vec<ColumnValue>) -> Self
Creates request-scoped soft-delete values from explicit column values.
Sourcepub fn values(&self) -> &[ColumnValue]
pub fn values(&self) -> &[ColumnValue]
Returns the raw soft-delete column values.
Trait Implementations§
Source§impl Clone for SoftDeleteRequestValues
impl Clone for SoftDeleteRequestValues
Source§fn clone(&self) -> SoftDeleteRequestValues
fn clone(&self) -> SoftDeleteRequestValues
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 SoftDeleteRequestValues
impl Debug for SoftDeleteRequestValues
Source§impl Default for SoftDeleteRequestValues
impl Default for SoftDeleteRequestValues
Source§fn default() -> SoftDeleteRequestValues
fn default() -> SoftDeleteRequestValues
Returns the “default value” for a type. Read more
Source§impl PartialEq for SoftDeleteRequestValues
impl PartialEq for SoftDeleteRequestValues
Source§fn eq(&self, other: &SoftDeleteRequestValues) -> bool
fn eq(&self, other: &SoftDeleteRequestValues) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SoftDeleteRequestValues
Auto Trait Implementations§
impl Freeze for SoftDeleteRequestValues
impl RefUnwindSafe for SoftDeleteRequestValues
impl Send for SoftDeleteRequestValues
impl Sync for SoftDeleteRequestValues
impl Unpin for SoftDeleteRequestValues
impl UnsafeUnpin for SoftDeleteRequestValues
impl UnwindSafe for SoftDeleteRequestValues
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