pub struct NewConversation {
pub title: String,
pub model_id: Option<i64>,
pub system_prompt: Option<String>,
}Expand description
Data for creating a new conversation.
Fields§
§title: String§model_id: Option<i64>§system_prompt: Option<String>Trait Implementations§
Source§impl Clone for NewConversation
impl Clone for NewConversation
Source§fn clone(&self) -> NewConversation
fn clone(&self) -> NewConversation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NewConversation
impl RefUnwindSafe for NewConversation
impl Send for NewConversation
impl Sync for NewConversation
impl Unpin for NewConversation
impl UnwindSafe for NewConversation
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