#[non_exhaustive]pub struct Assessment {
pub plan: Plan,
pub steps: Vec<Step>,
}Expand description
A plan and the step for every place it concerns.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.plan: PlanWhere the skill should go.
steps: Vec<Step>One step per planned target, then one per further place holding this program’s skill.
Implementations§
Source§impl Assessment
impl Assessment
Sourcepub fn awaiting_approval(&self) -> impl Iterator<Item = &Step>
pub fn awaiting_approval(&self) -> impl Iterator<Item = &Step>
Steps waiting for the user’s approval.
Trait Implementations§
Source§impl Clone for Assessment
impl Clone for Assessment
Source§impl Debug for Assessment
impl Debug for Assessment
impl Eq for Assessment
Source§impl PartialEq for Assessment
impl PartialEq for Assessment
impl StructuralPartialEq for Assessment
Auto Trait Implementations§
impl Freeze for Assessment
impl RefUnwindSafe for Assessment
impl Send for Assessment
impl Sync for Assessment
impl Unpin for Assessment
impl UnsafeUnpin for Assessment
impl UnwindSafe for Assessment
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