pub struct Envelope<'a> {
pub status: &'a str,
pub command: &'a str,
pub exit_code: i32,
pub headline: Option<&'a str>,
pub note: Option<&'a str>,
pub body: &'a str,
pub suppressed_tokens: i64,
pub run_id_short: &'a str,
pub prev_id_short: Option<&'a str>,
pub full_label: &'a str,
}Fields§
§status: &'a str§command: &'a str§exit_code: i32§headline: Option<&'a str>An optional emphasis line under the header (e.g. exit-code change).
note: Option<&'a str>An optional note (e.g. git-state annotation).
body: &'a str§suppressed_tokens: i64§run_id_short: &'a str§prev_id_short: Option<&'a str>§full_label: &'a strFull output / Full diff / Full logs.
Auto Trait Implementations§
impl<'a> Freeze for Envelope<'a>
impl<'a> RefUnwindSafe for Envelope<'a>
impl<'a> Send for Envelope<'a>
impl<'a> Sync for Envelope<'a>
impl<'a> Unpin for Envelope<'a>
impl<'a> UnsafeUnpin for Envelope<'a>
impl<'a> UnwindSafe for Envelope<'a>
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