pub enum VerbCategory {
Assertive,
Directive,
Commissive,
Declaration,
}Expand description
Illocutionary force classification for a verb handler (ADR-025).
Follows Searle’s five speech-act categories (1976). Every Visibility::Verb
handler in the MCP surface MUST carry a category. Subhandler entries may
use the category of their parent verb or Assertive as a sensible default.
The category is a documentation / introspection tag. It is NOT used for permission checking, transport routing, or return-shape selection (ADR-025 §4).
Variants§
Assertive
Speaker represents a state of affairs — retrieves and presents facts.
Examples: get, list, search, recall.
Directive
Speaker attempts to get the hearer to do something.
Examples: assign, transition.
Commissive
Speaker commits to a persistent change.
Examples: create, remember, link, send.
Declaration
Speaker changes institutional status by fiat.
Examples: update, delete, merge, complete.
Trait Implementations§
Source§impl Clone for VerbCategory
impl Clone for VerbCategory
Source§fn clone(&self) -> VerbCategory
fn clone(&self) -> VerbCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VerbCategory
impl Debug for VerbCategory
Source§impl PartialEq for VerbCategory
impl PartialEq for VerbCategory
Source§fn eq(&self, other: &VerbCategory) -> bool
fn eq(&self, other: &VerbCategory) -> bool
self and other values to be equal, and is used by ==.impl Copy for VerbCategory
impl Eq for VerbCategory
impl StructuralPartialEq for VerbCategory
Auto Trait Implementations§
impl Freeze for VerbCategory
impl RefUnwindSafe for VerbCategory
impl Send for VerbCategory
impl Sync for VerbCategory
impl Unpin for VerbCategory
impl UnsafeUnpin for VerbCategory
impl UnwindSafe for VerbCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.