pub enum ShallowUpdate {
Shallow(ObjectId),
Unshallow(ObjectId),
}
Available on crate features
blocking-client
or async-client
only.Expand description
A shallow line received from the server.
Variants§
Implementations§
Source§impl ShallowUpdate
impl ShallowUpdate
Trait Implementations§
Source§impl Clone for ShallowUpdate
impl Clone for ShallowUpdate
Source§fn clone(&self) -> ShallowUpdate
fn clone(&self) -> ShallowUpdate
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 ShallowUpdate
impl Debug for ShallowUpdate
Source§impl<'de> Deserialize<'de> for ShallowUpdate
impl<'de> Deserialize<'de> for ShallowUpdate
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 ShallowUpdate
impl Hash for ShallowUpdate
Source§impl Ord for ShallowUpdate
impl Ord for ShallowUpdate
Source§fn cmp(&self, other: &ShallowUpdate) -> Ordering
fn cmp(&self, other: &ShallowUpdate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShallowUpdate
impl PartialEq for ShallowUpdate
Source§impl PartialOrd for ShallowUpdate
impl PartialOrd for ShallowUpdate
Source§impl Serialize for ShallowUpdate
impl Serialize for ShallowUpdate
impl Copy for ShallowUpdate
impl Eq for ShallowUpdate
impl StructuralPartialEq for ShallowUpdate
Auto Trait Implementations§
impl Freeze for ShallowUpdate
impl RefUnwindSafe for ShallowUpdate
impl Send for ShallowUpdate
impl Sync for ShallowUpdate
impl Unpin for ShallowUpdate
impl UnwindSafe for ShallowUpdate
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