pub struct CompletionStatusResponse {
pub status: CompletionStatus,
pub step: Option<i64>,
}Expand description
Response to a completion token status request.
JSON schema
{
"description": "Response to a completion token status request.",
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"$ref": "#/components/schemas/CompletionStatus"
},
"step": {
"description": "If all of the data associated with the token has been processed through\nthe pipeline, this is the final step that includes at least one record.\nWhen the pipeline's `total_completed_steps` reaches this value, the\ntoken has been completed.\n\nThis is `None` before the data associated with the token has been\nprocessed through the pipeline.",
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§status: CompletionStatus§step: Option<i64>If all of the data associated with the token has been processed through
the pipeline, this is the final step that includes at least one record.
When the pipeline’s total_completed_steps reaches this value, the
token has been completed.
This is None before the data associated with the token has been
processed through the pipeline.
Implementations§
Source§impl CompletionStatusResponse
impl CompletionStatusResponse
pub fn builder() -> CompletionStatusResponse
Trait Implementations§
Source§impl Clone for CompletionStatusResponse
impl Clone for CompletionStatusResponse
Source§fn clone(&self) -> CompletionStatusResponse
fn clone(&self) -> CompletionStatusResponse
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 CompletionStatusResponse
impl Debug for CompletionStatusResponse
Source§impl<'de> Deserialize<'de> for CompletionStatusResponse
impl<'de> Deserialize<'de> for CompletionStatusResponse
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<&CompletionStatusResponse> for CompletionStatusResponse
impl From<&CompletionStatusResponse> for CompletionStatusResponse
Source§fn from(value: &CompletionStatusResponse) -> Self
fn from(value: &CompletionStatusResponse) -> Self
Converts to this type from the input type.
Source§impl From<CompletionStatusResponse> for CompletionStatusResponse
impl From<CompletionStatusResponse> for CompletionStatusResponse
Source§fn from(value: CompletionStatusResponse) -> Self
fn from(value: CompletionStatusResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for CompletionStatusResponse
impl Serialize for CompletionStatusResponse
Source§impl TryFrom<CompletionStatusResponse> for CompletionStatusResponse
impl TryFrom<CompletionStatusResponse> for CompletionStatusResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CompletionStatusResponse) -> Result<Self, ConversionError>
fn try_from(value: CompletionStatusResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CompletionStatusResponse
impl RefUnwindSafe for CompletionStatusResponse
impl Send for CompletionStatusResponse
impl Sync for CompletionStatusResponse
impl Unpin for CompletionStatusResponse
impl UnwindSafe for CompletionStatusResponse
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