pub enum DispatchNature {
Yang,
Yin,
}Expand description
Classification of a dispatch as Yang (active/creative) or Yin (passive/receptive).
Variants§
Yang
Yang — create, write, delete, execute, build, act.
Yin
Yin — read, search, analyze, reflect, observe, query.
Implementations§
Source§impl DispatchNature
impl DispatchNature
Sourcepub fn from_tool_name(name: &str) -> Self
pub fn from_tool_name(name: &str) -> Self
Classify a tool name as Yang or Yin based on its action type.
Yang verbs: create, write, delete, associate, consolidate, decay, update, tag, flush, end, distribute, trigger, dispatch, execute, build, act, start, register, import, export.
Yin verbs: read, list, search, query, scan, status, report, list, history, analyze, reflect, observe, check, count, tags, stats, health, config, show, get, surface, detect.
Trait Implementations§
Source§impl Clone for DispatchNature
impl Clone for DispatchNature
impl Copy for DispatchNature
Source§impl Debug for DispatchNature
impl Debug for DispatchNature
Source§impl<'de> Deserialize<'de> for DispatchNature
impl<'de> Deserialize<'de> for DispatchNature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DispatchNature
Source§impl PartialEq for DispatchNature
impl PartialEq for DispatchNature
Source§impl Serialize for DispatchNature
impl Serialize for DispatchNature
impl StructuralPartialEq for DispatchNature
Auto Trait Implementations§
impl Freeze for DispatchNature
impl RefUnwindSafe for DispatchNature
impl Send for DispatchNature
impl Sync for DispatchNature
impl Unpin for DispatchNature
impl UnsafeUnpin for DispatchNature
impl UnwindSafe for DispatchNature
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