pub struct ForkCutPoint {
pub last_turn_id: String,
}Expand description
Where a fork cuts the source history. Turn ids are used instead of counts because ids stay stable across compaction and concurrent appends while indices do not.
Fields§
§last_turn_id: StringThe last completed turn to copy, inclusive. Naming an in-progress or
unknown turn fails forkBoundaryInvalid.
Trait Implementations§
Source§impl Clone for ForkCutPoint
impl Clone for ForkCutPoint
Source§impl Debug for ForkCutPoint
impl Debug for ForkCutPoint
Source§impl<'de> Deserialize<'de> for ForkCutPoint
impl<'de> Deserialize<'de> for ForkCutPoint
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 ForkCutPoint
Source§impl PartialEq for ForkCutPoint
impl PartialEq for ForkCutPoint
Source§impl Serialize for ForkCutPoint
impl Serialize for ForkCutPoint
impl StructuralPartialEq for ForkCutPoint
Auto Trait Implementations§
impl Freeze for ForkCutPoint
impl RefUnwindSafe for ForkCutPoint
impl Send for ForkCutPoint
impl Sync for ForkCutPoint
impl Unpin for ForkCutPoint
impl UnsafeUnpin for ForkCutPoint
impl UnwindSafe for ForkCutPoint
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