Struct flowrlib::job::JobPayload
source · pub struct JobPayload {
pub job_id: usize,
pub input_set: Vec<Value>,
pub implementation_url: Url,
}Expand description
Conatins the minimum amount of information required to execute a Job and return the result
Fields§
§job_id: usizeEach Job has a unique id that increments as jobs are executed
input_set: Vec<Value>The set of input values to be used by the function when executing this job
implementation_url: UrlThe url of the implementation to be run for this job
Trait Implementations§
source§impl Clone for JobPayload
impl Clone for JobPayload
source§fn clone(&self) -> JobPayload
fn clone(&self) -> JobPayload
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<'de> Deserialize<'de> for JobPayload
impl<'de> Deserialize<'de> for JobPayload
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 Display for JobPayload
impl Display for JobPayload
Auto Trait Implementations§
impl RefUnwindSafe for JobPayload
impl Send for JobPayload
impl Sync for JobPayload
impl Unpin for JobPayload
impl UnwindSafe for JobPayload
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