pub struct JobDto {
pub result: Map<String, Value>,
pub state: String,
}Expand description
JobDto
JSON schema
{
"type": "object",
"required": [
"result",
"state"
],
"properties": {
"result": {
"description": "DTO.JOB.RESULT",
"examples": [
{
"data": {
"message": "Job completed successfully"
},
"success": true
}
],
"type": "object"
},
"state": {
"description": "DTO.JOB.STATE",
"examples": [
"completed"
],
"type": "string"
}
}
}Fields§
§result: Map<String, Value>DTO.JOB.RESULT
state: StringDTO.JOB.STATE
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobDto
impl<'de> Deserialize<'de> for JobDto
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 JobDto
impl RefUnwindSafe for JobDto
impl Send for JobDto
impl Sync for JobDto
impl Unpin for JobDto
impl UnwindSafe for JobDto
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