pub enum ChangeRecord {
EntityAdded {
id: String,
},
EntityRemoved {
id: String,
},
VariableChanged {
entity_id: String,
variable: String,
},
FactAdded {
id: String,
},
FactRemoved {
id: String,
},
PropertyChanged {
object_id: String,
},
}Expand description
Record of a change made through the director.
Variants§
EntityAdded
A planning entity was added.
EntityRemoved
A planning entity was removed.
VariableChanged
A planning variable was changed.
Fields
FactAdded
A problem fact was added.
FactRemoved
A problem fact was removed.
PropertyChanged
A property on an entity or fact was changed.
Trait Implementations§
Source§impl Clone for ChangeRecord
impl Clone for ChangeRecord
Source§fn clone(&self) -> ChangeRecord
fn clone(&self) -> ChangeRecord
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 ChangeRecord
impl Debug for ChangeRecord
Source§impl PartialEq for ChangeRecord
impl PartialEq for ChangeRecord
impl Eq for ChangeRecord
impl StructuralPartialEq for ChangeRecord
Auto Trait Implementations§
impl Freeze for ChangeRecord
impl RefUnwindSafe for ChangeRecord
impl Send for ChangeRecord
impl Sync for ChangeRecord
impl Unpin for ChangeRecord
impl UnwindSafe for ChangeRecord
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,
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.