pub struct ConversationVersion(pub u64);Expand description
Counts controlled transitions of a session (begin_turn / commit /
abort_turn); the aggregate-level analogue of ContextVersion.
Tuple Fields§
§0: u64Implementations§
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<'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 Hash for ConversationVersion
impl Hash for ConversationVersion
Source§impl PartialEq for ConversationVersion
impl PartialEq 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