Enum lace::InsertMode
source · pub enum InsertMode {
Unrestricted,
DenyNewRows,
DenyNewColumns,
DenyNewRowsAndColumns,
}
Expand description
Defines insert data behavior – where data may be inserted.
Variants§
Unrestricted
Can add new rows or column
DenyNewRows
Cannot add new rows, but can add new columns
DenyNewColumns
Cannot add new columns, but can add new rows
DenyNewRowsAndColumns
No adding new rows or columns
Trait Implementations§
source§impl Clone for InsertMode
impl Clone for InsertMode
source§fn clone(&self) -> InsertMode
fn clone(&self) -> InsertMode
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 InsertMode
impl Debug for InsertMode
source§impl<'de> Deserialize<'de> for InsertMode
impl<'de> Deserialize<'de> for InsertMode
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 Hash for InsertMode
impl Hash for InsertMode
source§impl PartialEq for InsertMode
impl PartialEq for InsertMode
source§fn eq(&self, other: &InsertMode) -> bool
fn eq(&self, other: &InsertMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InsertMode
impl Serialize for InsertMode
impl Copy for InsertMode
impl Eq for InsertMode
impl StructuralPartialEq for InsertMode
Auto Trait Implementations§
impl Freeze for InsertMode
impl RefUnwindSafe for InsertMode
impl Send for InsertMode
impl Sync for InsertMode
impl Unpin for InsertMode
impl UnwindSafe for InsertMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.