pub(crate) struct PurposeSetPayload {
pub(crate) path: String,
pub(crate) status: PurposeStatus,
pub(crate) source: PurposeSource,
pub(crate) agent_reviewed: bool,
}Expand description
Stable serialized schema for a CLI purpose update.
Fields§
§path: StringIndexed repository-relative path whose purpose was updated.
status: PurposeStatusDurable purpose status after the update.
source: PurposeSourceSource of the durable purpose after the update.
agent_reviewed: boolWhether the purpose has been agent-reviewed.
Trait Implementations§
Source§impl Debug for PurposeSetPayload
impl Debug for PurposeSetPayload
Auto Trait Implementations§
impl Freeze for PurposeSetPayload
impl RefUnwindSafe for PurposeSetPayload
impl Send for PurposeSetPayload
impl Sync for PurposeSetPayload
impl Unpin for PurposeSetPayload
impl UnwindSafe for PurposeSetPayload
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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