pub struct JobCompletedEvent {
pub job_event: JobEvent,
pub agent_shutting_down: Option<bool>,
pub request_id: Option<i64>,
pub result: Option<Result>,
}
Expand description
Fields§
§job_event: JobEvent
§agent_shutting_down: Option<bool>
Indicates whether the agent is in the process of shutting down.
request_id: Option<i64>
The ID of the request.
result: Option<Result>
The result of the request.
Implementations§
Trait Implementations§
source§impl Clone for JobCompletedEvent
impl Clone for JobCompletedEvent
source§fn clone(&self) -> JobCompletedEvent
fn clone(&self) -> JobCompletedEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JobCompletedEvent
impl Debug for JobCompletedEvent
source§impl Default for JobCompletedEvent
impl Default for JobCompletedEvent
source§fn default() -> JobCompletedEvent
fn default() -> JobCompletedEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JobCompletedEvent
impl<'de> Deserialize<'de> for JobCompletedEvent
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
source§impl PartialEq for JobCompletedEvent
impl PartialEq for JobCompletedEvent
source§fn eq(&self, other: &JobCompletedEvent) -> bool
fn eq(&self, other: &JobCompletedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JobCompletedEvent
impl Serialize for JobCompletedEvent
impl StructuralPartialEq for JobCompletedEvent
Auto Trait Implementations§
impl Freeze for JobCompletedEvent
impl RefUnwindSafe for JobCompletedEvent
impl Send for JobCompletedEvent
impl Sync for JobCompletedEvent
impl Unpin for JobCompletedEvent
impl UnwindSafe for JobCompletedEvent
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