pub struct Change {
pub sequence: u64,
pub kind: ChangeKind,
pub node_id: Option<NodeId>,
pub old_path: Option<VirtualPath>,
pub new_path: Option<VirtualPath>,
pub revision: Option<Revision>,
pub created_at_ms: i64,
pub actor_metadata: BTreeMap<String, Value>,
}Expand description
One committed, workspace-scoped filesystem change.
Fields§
§sequence: u64The strictly increasing sequence within the workspace.
kind: ChangeKindThe change category.
node_id: Option<NodeId>The affected node when it remains identifiable.
old_path: Option<VirtualPath>The path before the change, when applicable.
new_path: Option<VirtualPath>The path after the change, when applicable.
revision: Option<Revision>The resulting revision, when the affected node remains active.
created_at_ms: i64The Unix timestamp in milliseconds when the change committed.
actor_metadata: BTreeMap<String, Value>Safe actor fields captured for the mutation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Change
impl<'de> Deserialize<'de> for Change
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 Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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