pub struct SayHook {
pub type: Type,
pub metadata: Option<Value>,
pub exact: Option<String>,
pub prompt: Option<String>,
}Fields§
§type: Type§metadata: Option<Value>This is for metadata you want to store on the task.
exact: Option<String>§prompt: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SayHook
impl<'de> Deserialize<'de> for SayHook
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 SayHook
Auto Trait Implementations§
impl Freeze for SayHook
impl RefUnwindSafe for SayHook
impl Send for SayHook
impl Sync for SayHook
impl Unpin for SayHook
impl UnwindSafe for SayHook
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