pub struct UpdatePackRequestExampleImagesItem {
pub asset_id: String,
pub filename: String,
pub mime_type: Option<String>,
}
Expand description
UpdatePackRequestExampleImagesItem
JSON schema
{
"type": "object",
"required": [
"assetId",
"filename"
],
"properties": {
"assetId": {
"description": "The asset id of the Pack's example image, returned
by [`#PackAssetUploadComplete`](#operation/packAssetUploadComplete)
endpoint.",
"type": "string"
},
"filename": {
"description": "The filename for the image.",
"type": "string"
},
"mimeType": {
"description": "The media type of the image being sent.",
"examples": [
"image/jpeg"
],
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§asset_id: String
The asset id of the Pack’s example image, returned by
#PackAssetUploadComplete
endpoint.
filename: String
The filename for the image.
mime_type: Option<String>
The media type of the image being sent.
Trait Implementations§
Source§impl Clone for UpdatePackRequestExampleImagesItem
impl Clone for UpdatePackRequestExampleImagesItem
Source§fn clone(&self) -> UpdatePackRequestExampleImagesItem
fn clone(&self) -> UpdatePackRequestExampleImagesItem
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<'de> Deserialize<'de> for UpdatePackRequestExampleImagesItem
impl<'de> Deserialize<'de> for UpdatePackRequestExampleImagesItem
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<&UpdatePackRequestExampleImagesItem> for UpdatePackRequestExampleImagesItem
impl From<&UpdatePackRequestExampleImagesItem> for UpdatePackRequestExampleImagesItem
Source§fn from(value: &UpdatePackRequestExampleImagesItem) -> Self
fn from(value: &UpdatePackRequestExampleImagesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdatePackRequestExampleImagesItem
impl RefUnwindSafe for UpdatePackRequestExampleImagesItem
impl Send for UpdatePackRequestExampleImagesItem
impl Sync for UpdatePackRequestExampleImagesItem
impl Unpin for UpdatePackRequestExampleImagesItem
impl UnwindSafe for UpdatePackRequestExampleImagesItem
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