pub struct UploadCompleteResponse {
pub command_id: String,
pub state: CommandState,
}Expand description
Response to upload completion
JSON schema
{
"description": "Response to upload completion",
"type": "object",
"required": [
"commandId",
"state"
],
"properties": {
"commandId": {
"description": "Command identifier",
"type": "string"
},
"state": {
"$ref": "#/components/schemas/CommandState"
}
}
}Fields§
§command_id: StringCommand identifier
state: CommandStateImplementations§
Source§impl UploadCompleteResponse
impl UploadCompleteResponse
pub fn builder() -> UploadCompleteResponse
Trait Implementations§
Source§impl Clone for UploadCompleteResponse
impl Clone for UploadCompleteResponse
Source§fn clone(&self) -> UploadCompleteResponse
fn clone(&self) -> UploadCompleteResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UploadCompleteResponse
impl Debug for UploadCompleteResponse
Source§impl<'de> Deserialize<'de> for UploadCompleteResponse
impl<'de> Deserialize<'de> for UploadCompleteResponse
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<&UploadCompleteResponse> for UploadCompleteResponse
impl From<&UploadCompleteResponse> for UploadCompleteResponse
Source§fn from(value: &UploadCompleteResponse) -> Self
fn from(value: &UploadCompleteResponse) -> Self
Converts to this type from the input type.
Source§impl From<UploadCompleteResponse> for UploadCompleteResponse
impl From<UploadCompleteResponse> for UploadCompleteResponse
Source§fn from(value: UploadCompleteResponse) -> Self
fn from(value: UploadCompleteResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for UploadCompleteResponse
impl Serialize for UploadCompleteResponse
Source§impl TryFrom<UploadCompleteResponse> for UploadCompleteResponse
impl TryFrom<UploadCompleteResponse> for UploadCompleteResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UploadCompleteResponse) -> Result<Self, ConversionError>
fn try_from(value: UploadCompleteResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UploadCompleteResponse
impl RefUnwindSafe for UploadCompleteResponse
impl Send for UploadCompleteResponse
impl Sync for UploadCompleteResponse
impl Unpin for UploadCompleteResponse
impl UnsafeUnpin for UploadCompleteResponse
impl UnwindSafe for UploadCompleteResponse
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