pub struct ProposedAction { /* private fields */ }Expand description
Represents an action that the system intends to perform, submitted for evaluation by the Effect Ethos.
It contains a unique identifier for the class of action, a descriptive name, and a map of specific parameters for this instance of the action.
Implementations§
Source§impl ProposedAction
impl ProposedAction
Sourcepub fn action_name(&self) -> &str
pub fn action_name(&self) -> &str
Returns the name of the proposed action.
§Returns
A string slice (&str) representing the action’s name.
Sourcepub fn parameters(&self) -> &HashMap<String, ActionParameterValue>
pub fn parameters(&self) -> &HashMap<String, ActionParameterValue>
Returns a reference to the parameters associated with the proposed action.
§Returns
A reference to a HashMap where keys are String (parameter names) and values are ActionParameterValue.
Trait Implementations§
Source§impl Clone for ProposedAction
impl Clone for ProposedAction
Source§fn clone(&self) -> ProposedAction
fn clone(&self) -> ProposedAction
Returns a duplicate of the value. Read more
1.0.0 · 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 ProposedAction
impl Debug for ProposedAction
Source§impl Display for ProposedAction
impl Display for ProposedAction
Source§impl Identifiable for ProposedAction
impl Identifiable for ProposedAction
Source§impl PartialEq for ProposedAction
impl PartialEq for ProposedAction
impl StructuralPartialEq for ProposedAction
Auto Trait Implementations§
impl Freeze for ProposedAction
impl RefUnwindSafe for ProposedAction
impl Send for ProposedAction
impl Sync for ProposedAction
impl Unpin for ProposedAction
impl UnwindSafe for ProposedAction
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