Enum ArchiveMode
pub enum ArchiveMode {
None,
StudyArchive,
AssetArchive,
}Expand description
Controls whether delete operations must archive records before removal.
Variants§
None
Deleting without an archive is allowed only when the request is forced.
StudyArchive
Study deletes are routed through the study archive path.
AssetArchive
Asset and asset-version deletes are routed through the asset archive path.
Trait Implementations§
§impl Clone for ArchiveMode
impl Clone for ArchiveMode
§fn clone(&self) -> ArchiveMode
fn clone(&self) -> ArchiveMode
Returns a duplicate 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 more§impl Debug for ArchiveMode
impl Debug for ArchiveMode
§impl<'de> Deserialize<'de> for ArchiveMode
impl<'de> Deserialize<'de> for ArchiveMode
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArchiveMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArchiveMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ArchiveMode
impl PartialEq for ArchiveMode
§impl Serialize for ArchiveMode
impl Serialize for ArchiveMode
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ArchiveMode
impl StructuralPartialEq for ArchiveMode
Auto Trait Implementations§
impl Freeze for ArchiveMode
impl RefUnwindSafe for ArchiveMode
impl Send for ArchiveMode
impl Sync for ArchiveMode
impl Unpin for ArchiveMode
impl UnsafeUnpin for ArchiveMode
impl UnwindSafe for ArchiveMode
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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,
§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<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