pub struct ChatForkSource {
pub chat: Uri,
pub turn_id: String,
}Expand description
Identifies a source chat and turn to fork from.
Fields§
§chat: UriURI of the existing chat to fork from
turn_id: StringTurn ID in the source chat; content up to and including this turn’s response is copied
Trait Implementations§
Source§impl Clone for ChatForkSource
impl Clone for ChatForkSource
Source§fn clone(&self) -> ChatForkSource
fn clone(&self) -> ChatForkSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatForkSource
impl Debug for ChatForkSource
Source§impl<'de> Deserialize<'de> for ChatForkSource
impl<'de> Deserialize<'de> for ChatForkSource
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
Source§impl PartialEq for ChatForkSource
impl PartialEq for ChatForkSource
Source§fn eq(&self, other: &ChatForkSource) -> bool
fn eq(&self, other: &ChatForkSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatForkSource
impl Serialize for ChatForkSource
impl StructuralPartialEq for ChatForkSource
Auto Trait Implementations§
impl Freeze for ChatForkSource
impl RefUnwindSafe for ChatForkSource
impl Send for ChatForkSource
impl Sync for ChatForkSource
impl Unpin for ChatForkSource
impl UnsafeUnpin for ChatForkSource
impl UnwindSafe for ChatForkSource
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