pub struct ConversationUpdate {
pub title: Option<String>,
pub system_prompt: Option<Option<String>>,
}Expand description
Data for updating an existing conversation.
Fields§
§title: Option<String>§system_prompt: Option<Option<String>>Use Some(Some(prompt)) to set, Some(None) to clear, None to leave unchanged.
Trait Implementations§
Source§impl Clone for ConversationUpdate
impl Clone for ConversationUpdate
Source§fn clone(&self) -> ConversationUpdate
fn clone(&self) -> ConversationUpdate
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 moreSource§impl Debug for ConversationUpdate
impl Debug for ConversationUpdate
Source§impl Default for ConversationUpdate
impl Default for ConversationUpdate
Source§fn default() -> ConversationUpdate
fn default() -> ConversationUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConversationUpdate
impl RefUnwindSafe for ConversationUpdate
impl Send for ConversationUpdate
impl Sync for ConversationUpdate
impl Unpin for ConversationUpdate
impl UnwindSafe for ConversationUpdate
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