pub struct DocumentChange {
pub document: Option<Document>,
pub target_ids: Vec<i32>,
pub removed_target_ids: Vec<i32>,
}Expand description
A Document has changed.
Fields§
§document: Option<Document>The new state of the document.
target_ids: Vec<i32>A set of target IDs of targets that match this document.
removed_target_ids: Vec<i32>A set of target IDs for targets that no longer match this document.
Trait Implementations§
Source§impl Clone for DocumentChange
impl Clone for DocumentChange
Source§fn clone(&self) -> DocumentChange
fn clone(&self) -> DocumentChange
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 DocumentChange
impl Debug for DocumentChange
Source§impl<'de> Deserialize<'de> for DocumentChange
impl<'de> Deserialize<'de> for DocumentChange
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
Auto Trait Implementations§
impl Freeze for DocumentChange
impl RefUnwindSafe for DocumentChange
impl Send for DocumentChange
impl Sync for DocumentChange
impl Unpin for DocumentChange
impl UnwindSafe for DocumentChange
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