pub struct PlanUpdate {Show 14 fields
pub id: String,
pub vault: String,
pub version: u64,
pub digest: String,
pub issued_by: String,
pub verified: bool,
pub published_at: Option<String>,
pub title: Option<String>,
pub goal: Option<String>,
pub parts: Vec<PlanPart>,
pub agents: Vec<PlanAgent>,
pub body: Option<PlanBody>,
pub body_error: Option<&'static str>,
pub releases: Vec<PlanRelease>,
}Expand description
One applied plan version.
Fields§
§id: String§vault: StringThe vault address #<workspace>/<vault> when this instance follows
the vault, else the document’s vault id (32 hex).
version: u64§digest: StringThe body’s content_sha256.
issued_by: StringWho published the version (Cloud’s issued_by, covered by its
signature).
verified: boolWhether the kept body still hashes to digest. A document is kept
only after its digest and Cloud signature checked out (37.5); false
when the stored copy no longer matches (it is then not opened).
published_at: Option<String>§title: Option<String>The verified body’s title; null for a reader without text.
goal: Option<String>§parts: Vec<PlanPart>§agents: Vec<PlanAgent>§body: Option<PlanBody>The whole verified leanctx.plan-body/v1 (title, goal, sessions,
decisions), for the app’s read; null for a reader without text or
when the body does not open.
body_error: Option<&'static str>Why the body does not open (invalid, digest_mismatch); null
when it opened or the reader gets no text.
releases: Vec<PlanRelease>The local audit of every release of this plan (any version still on record): which version reached which agent, and when.
Trait Implementations§
Source§impl Clone for PlanUpdate
impl Clone for PlanUpdate
Source§impl Debug for PlanUpdate
impl Debug for PlanUpdate
impl Eq for PlanUpdate
Source§impl PartialEq for PlanUpdate
impl PartialEq for PlanUpdate
Source§impl Serialize for PlanUpdate
impl Serialize for PlanUpdate
impl StructuralPartialEq for PlanUpdate
Auto Trait Implementations§
impl Forget for PlanUpdate
impl Freeze for PlanUpdate
impl Move for PlanUpdate
impl RefUnwindSafe for PlanUpdate
impl Send for PlanUpdate
impl Sync for PlanUpdate
impl Unpin for PlanUpdate
impl UnsafeUnpin for PlanUpdate
impl UnwindSafe for PlanUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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