pub struct ShadowDelta {
pub touched_objects: Vec<String>,
pub addresses_signals: Vec<String>,
pub unaddressed_risks: Vec<String>,
}Expand description
What the world would look like afterwards, to the extent that is knowable.
Not a predicted WorldState — producing one would mean fabricating attribute values
for every object the plan touches. It is the delta the plan claims: what it would
touch, which observed signals it would address, and which it would leave standing.
unaddressed_risks is the most useful field on the struct and the one a plan author
never volunteers.
Fields§
§touched_objects: Vec<String>§addresses_signals: Vec<String>§unaddressed_risks: Vec<String>Trait Implementations§
Source§impl Clone for ShadowDelta
impl Clone for ShadowDelta
Source§fn clone(&self) -> ShadowDelta
fn clone(&self) -> ShadowDelta
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 ShadowDelta
impl Debug for ShadowDelta
Source§impl<'de> Deserialize<'de> for ShadowDelta
impl<'de> Deserialize<'de> for ShadowDelta
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
Source§impl PartialEq for ShadowDelta
impl PartialEq for ShadowDelta
Source§impl Serialize for ShadowDelta
impl Serialize for ShadowDelta
impl StructuralPartialEq for ShadowDelta
Auto Trait Implementations§
impl Freeze for ShadowDelta
impl RefUnwindSafe for ShadowDelta
impl Send for ShadowDelta
impl Sync for ShadowDelta
impl Unpin for ShadowDelta
impl UnsafeUnpin for ShadowDelta
impl UnwindSafe for ShadowDelta
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