pub struct WhenGuard {
pub guard: String,
pub target: String,
}Expand description
A closed-vocabulary guard on a conditional llm_call: guard is one of on_failure /
on_flag / on_missing, target is the guard-specific argument. See
ir-schema.md.
Fields§
§guard: String§target: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for WhenGuard
impl<'de> Deserialize<'de> for WhenGuard
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 WhenGuard
Auto Trait Implementations§
impl Freeze for WhenGuard
impl RefUnwindSafe for WhenGuard
impl Send for WhenGuard
impl Sync for WhenGuard
impl Unpin for WhenGuard
impl UnsafeUnpin for WhenGuard
impl UnwindSafe for WhenGuard
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