pub enum DocumentStatus {
Normal,
Recycle,
Deleted,
Encrypted,
Archived,
}Expand description
文档状态
Variants§
Trait Implementations§
Source§impl Clone for DocumentStatus
impl Clone for DocumentStatus
Source§fn clone(&self) -> DocumentStatus
fn clone(&self) -> DocumentStatus
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 DocumentStatus
impl Debug for DocumentStatus
Source§impl<'de> Deserialize<'de> for DocumentStatus
impl<'de> Deserialize<'de> for DocumentStatus
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 PartialEq for DocumentStatus
impl PartialEq for DocumentStatus
Source§fn eq(&self, other: &DocumentStatus) -> bool
fn eq(&self, other: &DocumentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentStatus
impl Serialize for DocumentStatus
impl StructuralPartialEq for DocumentStatus
Auto Trait Implementations§
impl Freeze for DocumentStatus
impl RefUnwindSafe for DocumentStatus
impl Send for DocumentStatus
impl Sync for DocumentStatus
impl Unpin for DocumentStatus
impl UnsafeUnpin for DocumentStatus
impl UnwindSafe for DocumentStatus
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