pub struct StarterDecl {
pub title: String,
pub prompt: String,
}Expand description
A suggestion for an empty chat: title on the button, prompt sent (or put in the
composer).
Fields§
§title: String§prompt: StringTrait Implementations§
Source§impl Clone for StarterDecl
impl Clone for StarterDecl
Source§impl Debug for StarterDecl
impl Debug for StarterDecl
Source§impl<'de> Deserialize<'de> for StarterDecl
impl<'de> Deserialize<'de> for StarterDecl
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 Eq for StarterDecl
Source§impl PartialEq for StarterDecl
impl PartialEq for StarterDecl
Source§impl Serialize for StarterDecl
impl Serialize for StarterDecl
impl StructuralPartialEq for StarterDecl
Auto Trait Implementations§
impl Forget for StarterDecl
impl Freeze for StarterDecl
impl Move for StarterDecl
impl RefUnwindSafe for StarterDecl
impl Send for StarterDecl
impl Sync for StarterDecl
impl Unpin for StarterDecl
impl UnsafeUnpin for StarterDecl
impl UnwindSafe for StarterDecl
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