pub enum RecordedHead {
Attached {
thread: String,
},
Detached {
state: StateId,
},
}Expand description
A HEAD value captured in an operation record.
This mirrors the refs crate’s Head without making the schema crate depend
on the refs implementation. The repository layer owns the conversion.
Variants§
Trait Implementations§
Source§impl Clone for RecordedHead
impl Clone for RecordedHead
Source§fn clone(&self) -> RecordedHead
fn clone(&self) -> RecordedHead
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 RecordedHead
impl Debug for RecordedHead
Source§impl<'de> Deserialize<'de> for RecordedHead
impl<'de> Deserialize<'de> for RecordedHead
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 RecordedHead
Source§impl PartialEq for RecordedHead
impl PartialEq for RecordedHead
Source§impl Serialize for RecordedHead
impl Serialize for RecordedHead
impl StructuralPartialEq for RecordedHead
Auto Trait Implementations§
impl Freeze for RecordedHead
impl RefUnwindSafe for RecordedHead
impl Send for RecordedHead
impl Sync for RecordedHead
impl Unpin for RecordedHead
impl UnsafeUnpin for RecordedHead
impl UnwindSafe for RecordedHead
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