pub struct SourceHeadsReport {
pub thread: String,
pub current: Option<String>,
pub selected_by: Option<String>,
pub heads: Vec<SourceHeadReport>,
}Expand description
A Thread whose source has several concurrent heads. Every head is listed; choosing one to check out never discards the others.
Fields§
§thread: String§current: Option<String>Full State ID of the local Thread tip.
selected_by: Option<String>Rule a clone or pull used to choose current. Absent outside a
transfer. One of local_tip, local_lineage_greatest_state_id,
greatest_state_id.
heads: Vec<SourceHeadReport>Every concurrent head, greatest State ID first.
Implementations§
Trait Implementations§
Source§impl Clone for SourceHeadsReport
impl Clone for SourceHeadsReport
Source§impl Debug for SourceHeadsReport
impl Debug for SourceHeadsReport
Source§impl JsonSchema for SourceHeadsReport
impl JsonSchema for SourceHeadsReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SourceHeadsReport
impl RefUnwindSafe for SourceHeadsReport
impl Send for SourceHeadsReport
impl Sync for SourceHeadsReport
impl Unpin for SourceHeadsReport
impl UnsafeUnpin for SourceHeadsReport
impl UnwindSafe for SourceHeadsReport
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