Skip to main content

Report

Struct Report 

Source
pub struct Report {
Show 14 fields pub collective: Option<(String, PathBuf)>, pub chunks: usize, pub known: usize, pub changed: Vec<String>, pub calls: usize, pub failed: Vec<String>, pub cost_usd: f64, pub done: Vec<Done>, pub new_lessons: usize, pub new_decisions: usize, pub queued: Vec<Entry>, pub routed: String, pub unplanned: Vec<String>, pub error: Option<String>,
}

Fields§

§collective: Option<(String, PathBuf)>

None: the directory routes off and nothing was read.

§chunks: usize§known: usize

Imported earlier with the same content: skipped, no call.

§changed: Vec<String>

Imported earlier, source changed since: reported, not re-imported.

§calls: usize§failed: Vec<String>

Chunks the model gave no usable answer for (retried by the next run).

§cost_usd: f64§done: Vec<Done>§new_lessons: usize§new_decisions: usize§queued: Vec<Entry>

The queue entries this run added (one desktop notification for all of them, notify.rs).

§routed: String

Which repos route to the receiving collective, in words.

§unplanned: Vec<String>

--apply --plan: chunks the plan does not answer (absent, or their source changed since the dry run). Skipped, never sent to the model.

§error: Option<String>

Why nothing was done (an unreadable plan, a target that routes off or does not exist).

Trait Implementations§

Source§

impl Debug for Report

Source§

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

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

impl Default for Report

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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> 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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.