pub struct MixedInput {
pub text: String,
pub media: Vec<Media>,
pub prompt_name: Option<String>,
pub title: Option<String>,
pub prompt: Option<String>,
}Expand description
One input: text (may hold placeholders), its media, and its prompt.
Fields§
§text: String§media: Vec<Media>§prompt_name: Option<String>§title: Option<String>§prompt: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MixedInput
impl Clone for MixedInput
Source§impl Debug for MixedInput
impl Debug for MixedInput
Auto Trait Implementations§
impl Freeze for MixedInput
impl RefUnwindSafe for MixedInput
impl Send for MixedInput
impl Sync for MixedInput
impl Unpin for MixedInput
impl UnsafeUnpin for MixedInput
impl UnwindSafe for MixedInput
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