pub struct SourceHeadReport {
pub state: String,
pub current: bool,
pub producer: ClaimedProducerReport,
pub intent: Option<String>,
pub pick_action: String,
pub merge_action: Option<String>,
}Fields§
§state: String§current: boolThis head is the local Thread tip.
producer: ClaimedProducerReportAttribution recorded in the head’s State, not an authenticated actor.
intent: Option<String>§pick_action: StringResolve the Thread to exactly this head’s tree.
merge_action: Option<String>Three-way merge this head into the local tip. Absent for the tip.
Trait Implementations§
Source§impl Clone for SourceHeadReport
impl Clone for SourceHeadReport
Source§impl Debug for SourceHeadReport
impl Debug for SourceHeadReport
Source§impl JsonSchema for SourceHeadReport
impl JsonSchema for SourceHeadReport
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 SourceHeadReport
impl RefUnwindSafe for SourceHeadReport
impl Send for SourceHeadReport
impl Sync for SourceHeadReport
impl Unpin for SourceHeadReport
impl UnsafeUnpin for SourceHeadReport
impl UnwindSafe for SourceHeadReport
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