pub struct ResumePack {
pub wing: String,
pub path: Option<String>,
pub last_activity: String,
pub total: i64,
pub evidence: i64,
pub knowledge: i64,
pub recent_evidence: Vec<ResumeEvidence>,
pub in_flight: Vec<ResumeCandidate>,
pub next_step: String,
}Expand description
Everything an agent needs to pick a project back up.
Fields§
§wing: String§path: Option<String>§last_activity: String§total: i64§evidence: i64§knowledge: i64§recent_evidence: Vec<ResumeEvidence>§in_flight: Vec<ResumeCandidate>§next_step: StringConcrete next step, e.g. cd <path> && mempal context "resume <wing>".
Trait Implementations§
Source§impl Clone for ResumePack
impl Clone for ResumePack
Source§fn clone(&self) -> ResumePack
fn clone(&self) -> ResumePack
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 ResumePack
impl Debug for ResumePack
Source§impl JsonSchema for ResumePack
impl JsonSchema for ResumePack
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 ResumePack
impl RefUnwindSafe for ResumePack
impl Send for ResumePack
impl Sync for ResumePack
impl Unpin for ResumePack
impl UnsafeUnpin for ResumePack
impl UnwindSafe for ResumePack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more