pub enum Keyword {
Show 57 variants
Agent,
Behavior,
Function,
Struct,
Let,
If,
Else,
Match,
For,
While,
Try,
Catch,
Return,
Emit,
Require,
Check,
On,
In,
Invoke,
True,
False,
Null,
Capability,
Capabilities,
Policy,
Has,
Name,
Version,
Author,
Description,
Resources,
Security,
Policies,
Input,
Output,
Steps,
Memory,
Cpu,
Network,
Storage,
Tier,
Sandbox,
Allow,
Strict,
Moderate,
Permissive,
Timeout,
Retry,
Failure,
Terminate,
Restart,
Escalate,
Ignore,
Tier1,
Tier2,
Tier3,
Tier4,
}Expand description
Keywords in the DSL
Variants§
Agent
Behavior
Function
Struct
Let
If
Else
Match
For
While
Try
Catch
Return
Emit
Require
Check
On
In
Invoke
True
False
Null
Capability
Capabilities
Policy
Has
Name
Version
Author
Description
Resources
Security
Policies
Input
Output
Steps
Memory
Cpu
Network
Storage
Tier
Sandbox
Allow
Strict
Moderate
Permissive
Timeout
Retry
Failure
Terminate
Restart
Escalate
Ignore
Tier1
Tier2
Tier3
Tier4
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Keyword
impl<'de> Deserialize<'de> for Keyword
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 StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more