Enum lace::OverwriteMode
source · pub enum OverwriteMode {
Allow,
Deny,
MissingOnly,
}
Expand description
Defines which data may be overwritten
Variants§
Allow
Overwrite anything
Deny
Do not overwrite any existing cells. Only allow data in new rows or columns.
MissingOnly
Same as deny, but also allow existing cells that are empty to be overwritten.
Trait Implementations§
source§impl Clone for OverwriteMode
impl Clone for OverwriteMode
source§fn clone(&self) -> OverwriteMode
fn clone(&self) -> OverwriteMode
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 OverwriteMode
impl Debug for OverwriteMode
source§impl<'de> Deserialize<'de> for OverwriteMode
impl<'de> Deserialize<'de> for OverwriteMode
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 OverwriteMode
impl Hash for OverwriteMode
source§impl PartialEq for OverwriteMode
impl PartialEq for OverwriteMode
source§fn eq(&self, other: &OverwriteMode) -> bool
fn eq(&self, other: &OverwriteMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OverwriteMode
impl Serialize for OverwriteMode
impl Copy for OverwriteMode
impl Eq for OverwriteMode
impl StructuralPartialEq for OverwriteMode
Auto Trait Implementations§
impl RefUnwindSafe for OverwriteMode
impl Send for OverwriteMode
impl Sync for OverwriteMode
impl Unpin for OverwriteMode
impl UnwindSafe for OverwriteMode
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.