pub struct RegisteredAction {
pub option: OptionId,
pub handler: HandlerId,
pub audiences: Vec<Audience>,
}Expand description
One action the CALLER has registered, and who may invoke it.
The caller injects these. A definition cannot add one, which is the property that keeps authored markup from naming an executable thing.
Fields§
§option: OptionIdThe option this action answers to.
handler: HandlerIdWhat the caller will run.
audiences: Vec<Audience>Which audiences may invoke it. An audience the offer admits is not automatically an audience every ACTION admits.
Trait Implementations§
Source§impl Clone for RegisteredAction
impl Clone for RegisteredAction
Source§impl Debug for RegisteredAction
impl Debug for RegisteredAction
impl Eq for RegisteredAction
Source§impl PartialEq for RegisteredAction
impl PartialEq for RegisteredAction
impl StructuralPartialEq for RegisteredAction
Auto Trait Implementations§
impl Freeze for RegisteredAction
impl RefUnwindSafe for RegisteredAction
impl Send for RegisteredAction
impl Sync for RegisteredAction
impl Unpin for RegisteredAction
impl UnsafeUnpin for RegisteredAction
impl UnwindSafe for RegisteredAction
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