pub struct UpdatePackRequestLogo {
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 UpdatePackRequestLogo
impl Clone for UpdatePackRequestLogo
Source§fn clone(&self) -> UpdatePackRequestLogo
fn clone(&self) -> UpdatePackRequestLogo
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 UpdatePackRequestLogo
impl Debug for UpdatePackRequestLogo
Source§impl<'de> Deserialize<'de> for UpdatePackRequestLogo
impl<'de> Deserialize<'de> for UpdatePackRequestLogo
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<&UpdatePackRequestLogo> for UpdatePackRequestLogo
impl From<&UpdatePackRequestLogo> for UpdatePackRequestLogo
Source§fn from(value: &UpdatePackRequestLogo) -> Self
fn from(value: &UpdatePackRequestLogo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdatePackRequestLogo
impl RefUnwindSafe for UpdatePackRequestLogo
impl Send for UpdatePackRequestLogo
impl Sync for UpdatePackRequestLogo
impl Unpin for UpdatePackRequestLogo
impl UnwindSafe for UpdatePackRequestLogo
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