pub struct ActionMetadata {
pub action_type: ActionType,
pub description: &'static str,
pub category: ActionCategory,
}Expand description
Metadata describing an action, used for validation and presentation.
Fields§
§action_type: ActionTypeAction type (used in YAML and the registry).
description: &'static strShort human-readable description.
category: ActionCategoryAction category.
Trait Implementations§
Source§impl Clone for ActionMetadata
impl Clone for ActionMetadata
Source§fn clone(&self) -> ActionMetadata
fn clone(&self) -> ActionMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActionMetadata
impl RefUnwindSafe for ActionMetadata
impl Send for ActionMetadata
impl Sync for ActionMetadata
impl Unpin for ActionMetadata
impl UnsafeUnpin for ActionMetadata
impl UnwindSafe for ActionMetadata
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