pub struct JobErrorLog {
pub job_id: JobId,
pub job_name: String,
pub failed_step_logs: Vec<StepErrorLog>,
}Fields§
§job_id: JobId§job_name: String§failed_step_logs: Vec<StepErrorLog>Implementations§
Source§impl JobErrorLog
impl JobErrorLog
pub fn new(job_id: JobId, job_name: String, logs: Vec<StepErrorLog>) -> Self
Sourcepub fn logs_as_str(&self) -> String
pub fn logs_as_str(&self) -> String
Returns the logs as a string
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JobErrorLog
impl RefUnwindSafe for JobErrorLog
impl Send for JobErrorLog
impl Sync for JobErrorLog
impl Unpin for JobErrorLog
impl UnwindSafe for JobErrorLog
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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