pub struct OmrCommandPlan {
pub commands: Vec<Command>,
pub diagnostics: Vec<OmrDiagnostic>,
}Expand description
Commands that may be applied through crate::ScoreEngine::batch_apply_labeled after a host
has shown the associated diagnostics to the user. Any diagnostic clears commands, so a
caller cannot accidentally apply only a subset of a proposal.
Fields§
§commands: Vec<Command>§diagnostics: Vec<OmrDiagnostic>Implementations§
Trait Implementations§
Source§impl Clone for OmrCommandPlan
impl Clone for OmrCommandPlan
Source§impl Debug for OmrCommandPlan
impl Debug for OmrCommandPlan
Source§impl<'de> Deserialize<'de> for OmrCommandPlan
impl<'de> Deserialize<'de> for OmrCommandPlan
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
Auto Trait Implementations§
impl Freeze for OmrCommandPlan
impl RefUnwindSafe for OmrCommandPlan
impl Send for OmrCommandPlan
impl Sync for OmrCommandPlan
impl Unpin for OmrCommandPlan
impl UnsafeUnpin for OmrCommandPlan
impl UnwindSafe for OmrCommandPlan
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