#[non_exhaustive]pub struct ForkProvenance {
pub session_id: String,
pub cut_cursor: String,
pub cut_explicit: bool,
pub command_id: String,
pub is_rewind: Option<bool>,
}Expand description
Fork provenance folded from the durable session.fork.created record.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe source session this fork was cut from.
cut_cursor: StringAn opaque provenance string preserved verbatim from the durable record. Display-only — not one of the cursor families: clients MUST NOT parse it and no method accepts it.
cut_explicit: boolWhether the fork named an explicit cut point.
command_id: StringThe commandId of the session/fork that created it.
is_rewind: Option<bool>true when validated full provenance records a conversation rewind,
false for a proved ordinary fork. Additive-optional: omitted when
the serving face holds no full provenance, which means unknown, never a
guessed ordinary fork; never null.
Trait Implementations§
Source§impl Clone for ForkProvenance
impl Clone for ForkProvenance
Source§impl Debug for ForkProvenance
impl Debug for ForkProvenance
Source§impl<'de> Deserialize<'de> for ForkProvenance
impl<'de> Deserialize<'de> for ForkProvenance
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 ForkProvenance
Source§impl PartialEq for ForkProvenance
impl PartialEq for ForkProvenance
Source§impl Serialize for ForkProvenance
impl Serialize for ForkProvenance
impl StructuralPartialEq for ForkProvenance
Auto Trait Implementations§
impl Forget for ForkProvenance
impl Freeze for ForkProvenance
impl Move for ForkProvenance
impl RefUnwindSafe for ForkProvenance
impl Send for ForkProvenance
impl Sync for ForkProvenance
impl Unpin for ForkProvenance
impl UnsafeUnpin for ForkProvenance
impl UnwindSafe for ForkProvenance
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