pub struct JobEvent {
pub flags: String,
pub fmt_type: String,
pub id: i32,
pub job_id: i32,
pub job_type: String,
pub key: String,
pub phase: i32,
pub raw_type: i32,
pub time: i32,
pub value: Option<String>,
}
Fields§
§flags: String
Event flags.
fmt_type: String
A string representation of the type of the data value.
id: i32
Job event ID.
job_id: i32
Job ID.
job_type: String
Job Type.
key: String
Event key name.
phase: i32
Job phase number at time of event.
raw_type: i32
An integer representation of the type of the data value.
time: i32
Time of event in Unix epoch seconds.
value: Option<String>
Event value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobEvent
impl<'de> Deserialize<'de> for JobEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JobEvent
impl RefUnwindSafe for JobEvent
impl Send for JobEvent
impl Sync for JobEvent
impl Unpin for JobEvent
impl UnwindSafe for JobEvent
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> 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