pub struct ConversationVersion(/* private fields */);Expand description
Monotonic append version of one conversation transcript.
Implementations§
Trait Implementations§
Source§impl Clone for ConversationVersion
impl Clone for ConversationVersion
Source§fn clone(&self) -> ConversationVersion
fn clone(&self) -> ConversationVersion
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 moreimpl Copy for ConversationVersion
Source§impl Debug for ConversationVersion
impl Debug for ConversationVersion
Source§impl Default for ConversationVersion
impl Default for ConversationVersion
Source§fn default() -> ConversationVersion
fn default() -> ConversationVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConversationVersion
impl<'de> Deserialize<'de> for ConversationVersion
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 ConversationVersion
Source§impl Ord for ConversationVersion
impl Ord for ConversationVersion
Source§fn cmp(&self, other: &ConversationVersion) -> Ordering
fn cmp(&self, other: &ConversationVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConversationVersion
impl PartialEq for ConversationVersion
Source§impl PartialOrd for ConversationVersion
impl PartialOrd for ConversationVersion
Source§impl Serialize for ConversationVersion
impl Serialize for ConversationVersion
impl StructuralPartialEq for ConversationVersion
Auto Trait Implementations§
impl Freeze for ConversationVersion
impl RefUnwindSafe for ConversationVersion
impl Send for ConversationVersion
impl Sync for ConversationVersion
impl Unpin for ConversationVersion
impl UnsafeUnpin for ConversationVersion
impl UnwindSafe for ConversationVersion
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