Skip to main content

Meta

Struct Meta 

Source
pub struct Meta {
Show 15 fields pub schema: &'static str, pub run_id: String, pub rk_version: &'static str, pub command: String, pub argv: Vec<String>, pub pid: u32, pub target: String, pub forge: String, pub repo: String, pub started: String, pub ended: Option<String>, pub exit_code: Option<i32>, pub reason: Option<String>, pub scripts: Vec<ScriptRecord>, pub secrets: Vec<SecretHandling>,
}
Expand description

The meta.json document.

Fields§

§schema: &'static str

The shape version of this document.

§run_id: String

The run’s identifier, equal to its directory name.

§rk_version: &'static str

The binary that ran.

§command: String

The subcommand.

§argv: Vec<String>

The invocation’s arguments as typed; a secret never appears in argv.

§pid: u32

The process that owns the run, for liveness while unfinished.

§target: String

The target repository.

§forge: String

The forge acted on.

§repo: String

The project path.

§started: String

Wall-clock UTC start.

§ended: Option<String>

Wall-clock UTC end, absent while running.

§exit_code: Option<i32>

The process exit code, absent while running.

§reason: Option<String>

The failure reason, absent on success.

§scripts: Vec<ScriptRecord>

Every script this run materialized, with its digest.

§secrets: Vec<SecretHandling>

Every secret this run handled.

Trait Implementations§

Source§

impl Debug for Meta

Source§

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

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

impl Serialize for Meta

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

Auto Trait Implementations§

§

impl Freeze for Meta

§

impl RefUnwindSafe for Meta

§

impl Send for Meta

§

impl Sync for Meta

§

impl Unpin for Meta

§

impl UnsafeUnpin for Meta

§

impl UnwindSafe for Meta

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.