Struct ocypod::models::job::UpdateRequest
source · Expand description
Request to update an existing job with new data.
Fields
status: Option<Status>
The new status of the job.
output: Option<Value>
The new output JSON to store as part of the job.
Trait Implementations
sourceimpl Clone for UpdateRequest
impl Clone for UpdateRequest
sourcefn clone(&self) -> UpdateRequest
fn clone(&self) -> UpdateRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpdateRequest
impl Debug for UpdateRequest
sourceimpl Default for UpdateRequest
impl Default for UpdateRequest
sourcefn default() -> UpdateRequest
fn default() -> UpdateRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateRequest
impl<'de> Deserialize<'de> for UpdateRequest
sourcefn 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 RefUnwindSafe for UpdateRequest
impl Send for UpdateRequest
impl Sync for UpdateRequest
impl Unpin for UpdateRequest
impl UnwindSafe for UpdateRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more