pub enum ContentChangeType {
Unknown,
Added,
Removed,
Rewritten,
Partial,
MetadataOnly,
Moved,
Unchanged,
}Expand description
内容变化类型
Variants§
Unknown
Added
新增文件
Removed
删除文件
Rewritten
完全重写
Partial
部分修改
MetadataOnly
仅元数据变化
Moved
移动/重命名
Unchanged
内容未变
Trait Implementations§
Source§impl Clone for ContentChangeType
impl Clone for ContentChangeType
Source§fn clone(&self) -> ContentChangeType
fn clone(&self) -> ContentChangeType
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 moreSource§impl Debug for ContentChangeType
impl Debug for ContentChangeType
Source§impl Default for ContentChangeType
impl Default for ContentChangeType
Source§fn default() -> ContentChangeType
fn default() -> ContentChangeType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentChangeType
impl<'de> Deserialize<'de> for ContentChangeType
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 ContentChangeType
impl PartialEq for ContentChangeType
Source§impl Serialize for ContentChangeType
impl Serialize for ContentChangeType
impl Copy for ContentChangeType
impl Eq for ContentChangeType
impl StructuralPartialEq for ContentChangeType
Auto Trait Implementations§
impl Freeze for ContentChangeType
impl RefUnwindSafe for ContentChangeType
impl Send for ContentChangeType
impl Sync for ContentChangeType
impl Unpin for ContentChangeType
impl UnwindSafe for ContentChangeType
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§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.