Skip to main content

RecordCommand

Enum RecordCommand 

Source
pub enum RecordCommand {
    Open(Box<RecordOpenArgs>),
    Attach(Box<RecordAttachArgs>),
    Post(Box<RecordPostArgs>),
    RepairDashboard(Box<RecordRepairDashboardArgs>),
    Close(Box<RecordCloseArgs>),
    Audit(Box<RecordAuditArgs>),
    Template(Box<RecordTemplateArgs>),
    Restore(Box<RecordRestoreArgs>),
}

Variants§

§

Open(Box<RecordOpenArgs>)

Open a provider issue from a plan bundle and post initial lifecycle comments (v3 issue-backed plan record contract). Idempotent: re-running for the same bundle resumes the existing tracker instead of creating a duplicate. The dedup key is the source snapshot identity (repo-relative path + last-commit SHA) embedded in the source lifecycle comment; on a match only the missing lifecycle comments are attached. A partial open is therefore safe to retry.

§

Attach(Box<RecordAttachArgs>)

Attach source, plan, and initial state lifecycle comments to an existing provider issue.

§

Post(Box<RecordPostArgs>)

Append a canonical lifecycle comment (state, session, validation, review, or closeout) to an existing plan record issue.

§

RepairDashboard(Box<RecordRepairDashboardArgs>)

Recompute and edit the dashboard issue body from active payload evidence. Old state payload formats require one-off migration/repair.

§

Close(Box<RecordCloseArgs>)

Close a plan record issue after the strict lifecycle gate passes.

§

Audit(Box<RecordAuditArgs>)

Audit issue body and comments for the active payload contract. Old state payload formats require one-off migration/repair.

§

Template(Box<RecordTemplateArgs>)

Preview the visible Markdown or JSON payload skeleton for a lifecycle role. Non-mutating; backed by the vNext lifecycle role registry.

§

Restore(Box<RecordRestoreArgs>)

Re-materialize a plan bundle’s source and plan documents from a tracking issue’s frozen snapshot comments, writing each file to its canonical path under --out. The inverse of record open’s snapshot rendering. The state role is a rendered lifecycle view (not a verbatim file snapshot) and is not restored.

Trait Implementations§

Source§

impl Clone for RecordCommand

Source§

fn clone(&self) -> RecordCommand

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RecordCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for RecordCommand

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Serialize for RecordCommand

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Subcommand for RecordCommand

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,