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