pub struct ForkChatSource {
pub chat: Uri,
pub turn_id: String,
}Expand description
Copies source history through a completed turn into the new chat.
Fields§
§chat: UriURI of the existing source chat.
turn_id: StringCompleted turn identifier in the source chat.
Content through this turn is copied into the new chat’s visible turns.
Trait Implementations§
Source§impl Clone for ForkChatSource
impl Clone for ForkChatSource
Source§fn clone(&self) -> ForkChatSource
fn clone(&self) -> ForkChatSource
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 ForkChatSource
impl Debug for ForkChatSource
Source§impl<'de> Deserialize<'de> for ForkChatSource
impl<'de> Deserialize<'de> for ForkChatSource
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 ForkChatSource
impl PartialEq for ForkChatSource
Source§impl Serialize for ForkChatSource
impl Serialize for ForkChatSource
impl StructuralPartialEq for ForkChatSource
Auto Trait Implementations§
impl Freeze for ForkChatSource
impl RefUnwindSafe for ForkChatSource
impl Send for ForkChatSource
impl Sync for ForkChatSource
impl Unpin for ForkChatSource
impl UnsafeUnpin for ForkChatSource
impl UnwindSafe for ForkChatSource
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