pub struct ChangesetContentChangedAction {
pub files: Vec<ChangesetFile>,
pub operations: Option<Vec<ChangesetOperation>>,
pub error: Option<ErrorInfo>,
}Expand description
The changeset’s full content changed. Full replacement semantics: files
replaces the previous file list, and operations, when present, replaces
the previous operation list.
Producers SHOULD use this action for initial snapshots and bulk refreshes; use {@link ChangesetFileSetAction}, {@link ChangesetFileRemovedAction}, and {@link ChangesetOperationsChangedAction} for incremental updates.
Fields§
§files: Vec<ChangesetFile>Full replacement file list.
operations: Option<Vec<ChangesetOperation>>Full replacement operation list. Omit when operations are unchanged.
error: Option<ErrorInfo>Error information, if the changeset content change failed.
Trait Implementations§
Source§impl Clone for ChangesetContentChangedAction
impl Clone for ChangesetContentChangedAction
Source§fn clone(&self) -> ChangesetContentChangedAction
fn clone(&self) -> ChangesetContentChangedAction
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<'de> Deserialize<'de> for ChangesetContentChangedAction
impl<'de> Deserialize<'de> for ChangesetContentChangedAction
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 StructuralPartialEq for ChangesetContentChangedAction
Auto Trait Implementations§
impl Freeze for ChangesetContentChangedAction
impl RefUnwindSafe for ChangesetContentChangedAction
impl Send for ChangesetContentChangedAction
impl Sync for ChangesetContentChangedAction
impl Unpin for ChangesetContentChangedAction
impl UnsafeUnpin for ChangesetContentChangedAction
impl UnwindSafe for ChangesetContentChangedAction
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