pub struct UpdatePackRequestCover {
pub asset_id: String,
pub filename: String,
pub mime_type: Option<String>,
}Expand description
Information about an image file for an update Pack request.
JSON schema
{
"description": "Information about an image file for an update Pack
request.",
"type": "object",
"required": [
"assetId",
"filename"
],
"properties": {
"assetId": {
"description": "The asset id of the Pack's 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,
"x-schema-name": "ImageFileForUpdatePackRequest"
}Fields§
§asset_id: StringThe asset id of the Pack’s image, returned by
#PackAssetUploadComplete
endpoint.
filename: StringThe filename for the image.
mime_type: Option<String>The media type of the image being sent.
Trait Implementations§
Source§impl Clone for UpdatePackRequestCover
impl Clone for UpdatePackRequestCover
Source§fn clone(&self) -> UpdatePackRequestCover
fn clone(&self) -> UpdatePackRequestCover
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 UpdatePackRequestCover
impl Debug for UpdatePackRequestCover
Source§impl<'de> Deserialize<'de> for UpdatePackRequestCover
impl<'de> Deserialize<'de> for UpdatePackRequestCover
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<&UpdatePackRequestCover> for UpdatePackRequestCover
impl From<&UpdatePackRequestCover> for UpdatePackRequestCover
Source§fn from(value: &UpdatePackRequestCover) -> Self
fn from(value: &UpdatePackRequestCover) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdatePackRequestCover
impl RefUnwindSafe for UpdatePackRequestCover
impl Send for UpdatePackRequestCover
impl Sync for UpdatePackRequestCover
impl Unpin for UpdatePackRequestCover
impl UnwindSafe for UpdatePackRequestCover
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