Struct mcai_worker_sdk::job::JobResult [−][src]
pub struct JobResult { /* fields omitted */ }
Implementations
pub fn with_json<T>(self, id: &str, serializable: &T) -> Result<Self, String> where
T: Serialize + ParameterValue + Sized,
pub fn get_parameters(&self) -> &Vec<Parameter>ⓘ
pub fn get_destination_paths(&self) -> &Vec<String>ⓘ
Trait Implementations
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
fn get_parameters(&self) -> &Vec<Parameter>ⓘ
Auto Trait Implementations
impl RefUnwindSafe for JobResult
impl UnwindSafe for JobResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more