pub struct HumanApproval {
pub prompt: String,
pub context: Value,
}Fields§
§prompt: String§context: ValueFree-form metadata for the approval UI.
Trait Implementations§
Source§impl Clone for HumanApproval
impl Clone for HumanApproval
Source§fn clone(&self) -> HumanApproval
fn clone(&self) -> HumanApproval
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 HumanApproval
impl Debug for HumanApproval
Source§impl Default for HumanApproval
impl Default for HumanApproval
Source§fn default() -> HumanApproval
fn default() -> HumanApproval
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HumanApproval
impl<'de> Deserialize<'de> for HumanApproval
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
Auto Trait Implementations§
impl Freeze for HumanApproval
impl RefUnwindSafe for HumanApproval
impl Send for HumanApproval
impl Sync for HumanApproval
impl Unpin for HumanApproval
impl UnsafeUnpin for HumanApproval
impl UnwindSafe for HumanApproval
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