pub enum ResolutionRequest {
Input {
id: NonEmptyString,
questions: Vec<Question>,
},
Approval {
id: NonEmptyString,
gate: ApprovalGate,
},
AgentAct {
id: NonEmptyString,
invocation: Box<AgentActInvocation>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ResolutionRequest
impl Clone for ResolutionRequest
Source§fn clone(&self) -> ResolutionRequest
fn clone(&self) -> ResolutionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolutionRequest
impl Debug for ResolutionRequest
Source§impl<'de> Deserialize<'de> for ResolutionRequest
impl<'de> Deserialize<'de> for ResolutionRequest
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
Source§impl PartialEq for ResolutionRequest
impl PartialEq for ResolutionRequest
Source§fn eq(&self, other: &ResolutionRequest) -> bool
fn eq(&self, other: &ResolutionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for ResolutionRequest
impl RunxSchema for ResolutionRequest
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for ResolutionRequest
impl Serialize for ResolutionRequest
impl StructuralPartialEq for ResolutionRequest
Auto Trait Implementations§
impl Freeze for ResolutionRequest
impl RefUnwindSafe for ResolutionRequest
impl Send for ResolutionRequest
impl Sync for ResolutionRequest
impl Unpin for ResolutionRequest
impl UnsafeUnpin for ResolutionRequest
impl UnwindSafe for ResolutionRequest
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