pub struct JobStreamingDto {
pub data: Map<String, Value>,
pub id: f64,
}Expand description
JobStreamingDto
JSON schema
{
"type": "object",
"required": [
"data",
"id"
],
"properties": {
"data": {
"description": "DTO.JOB.STREAMING.DATA",
"examples": [
{
"id": "5rKfmXQyMhz7F2zRE6SpWWx3YkSxtA4gFqZD8CwGRYMx5YLTB8NhbiM9xEHG9jruiWdUyUz7Fpz8jmB8SKcjsLqe",
"result": {
"data": {
"message": "Job completed successfully"
},
"success": true
},
"status": "completed"
}
],
"type": "object"
},
"id": {
"description": "DTO.JOB.STREAMING.ID",
"examples": [
1
],
"type": "number"
}
}
}Fields§
§data: Map<String, Value>DTO.JOB.STREAMING.DATA
id: f64Implementations§
Source§impl JobStreamingDto
impl JobStreamingDto
pub fn builder() -> JobStreamingDto
Trait Implementations§
Source§impl Clone for JobStreamingDto
impl Clone for JobStreamingDto
Source§fn clone(&self) -> JobStreamingDto
fn clone(&self) -> JobStreamingDto
Returns a duplicate 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 JobStreamingDto
impl Debug for JobStreamingDto
Source§impl<'de> Deserialize<'de> for JobStreamingDto
impl<'de> Deserialize<'de> for JobStreamingDto
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 From<&JobStreamingDto> for JobStreamingDto
impl From<&JobStreamingDto> for JobStreamingDto
Source§fn from(value: &JobStreamingDto) -> Self
fn from(value: &JobStreamingDto) -> Self
Converts to this type from the input type.
Source§impl From<JobStreamingDto> for JobStreamingDto
impl From<JobStreamingDto> for JobStreamingDto
Source§fn from(value: JobStreamingDto) -> Self
fn from(value: JobStreamingDto) -> Self
Converts to this type from the input type.
Source§impl Serialize for JobStreamingDto
impl Serialize for JobStreamingDto
Source§impl TryFrom<JobStreamingDto> for JobStreamingDto
impl TryFrom<JobStreamingDto> for JobStreamingDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: JobStreamingDto) -> Result<Self, ConversionError>
fn try_from(value: JobStreamingDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for JobStreamingDto
impl RefUnwindSafe for JobStreamingDto
impl Send for JobStreamingDto
impl Sync for JobStreamingDto
impl Unpin for JobStreamingDto
impl UnwindSafe for JobStreamingDto
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