pub struct ActionName(/* private fields */);Expand description
A validated action name from the approved SysKnife catalogue.
Constructed via ActionName::parse, which rejects any string not in
KNOWN_ACTION_NAMES. Holding an ActionName is a compile-time
guarantee that the contained string is in the catalogue — downstream
code does not need to re-validate.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ActionName
impl AsRef<str> for ActionName
Source§impl Clone for ActionName
impl Clone for ActionName
Source§impl Debug for ActionName
impl Debug for ActionName
Source§impl Display for ActionName
impl Display for ActionName
impl Eq for ActionName
Source§impl Hash for ActionName
impl Hash for ActionName
Source§impl PartialEq for ActionName
impl PartialEq for ActionName
Source§impl Serialize for ActionName
impl Serialize for ActionName
impl StructuralPartialEq for ActionName
Auto Trait Implementations§
impl Freeze for ActionName
impl RefUnwindSafe for ActionName
impl Send for ActionName
impl Sync for ActionName
impl Unpin for ActionName
impl UnsafeUnpin for ActionName
impl UnwindSafe for ActionName
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