pub struct Plan {
pub id: u64,
pub action: Action,
pub disposition: Disposition,
pub expected: Vec<u16>,
pub text: Vec<u16>,
}Expand description
Copied proposal for native validation and a single native effect. It owns its text and borrows nothing from the session, the model or the vocabulary snapshots.
Fields§
§id: u64Latest-only acknowledgement token.
action: ActionPermitted native operation.
disposition: DispositionEvent disposition after verification.
expected: Vec<u16>The UTF-16 units the owned mark must hold before the action; empty when none is owned.
text: Vec<u16>The UTF-16 units to mark or commit; empty for Action::Pass and
Action::Unavailable.
Trait Implementations§
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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