pub struct PersistentDisposition {
pub unset: Option<Vec<Disposition>>,
pub set: Option<Vec<Disposition>>,
}Expand description
Persistent disposition settings for tracking updates in an ObjectEvent.
Fields§
§unset: Option<Vec<Disposition>>List of dispositions to unset
set: Option<Vec<Disposition>>List of dispositions to set
Trait Implementations§
Source§impl Clone for PersistentDisposition
impl Clone for PersistentDisposition
Source§fn clone(&self) -> PersistentDisposition
fn clone(&self) -> PersistentDisposition
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 PersistentDisposition
impl Debug for PersistentDisposition
Source§impl<'de> Deserialize<'de> for PersistentDisposition
impl<'de> Deserialize<'de> for PersistentDisposition
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
impl Eq for PersistentDisposition
Source§impl PartialEq for PersistentDisposition
impl PartialEq for PersistentDisposition
Source§fn eq(&self, other: &PersistentDisposition) -> bool
fn eq(&self, other: &PersistentDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PersistentDisposition
impl Serialize for PersistentDisposition
impl StructuralPartialEq for PersistentDisposition
Auto Trait Implementations§
impl Freeze for PersistentDisposition
impl RefUnwindSafe for PersistentDisposition
impl Send for PersistentDisposition
impl Sync for PersistentDisposition
impl Unpin for PersistentDisposition
impl UnsafeUnpin for PersistentDisposition
impl UnwindSafe for PersistentDisposition
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.