Struct pdd::requests::PddGoodsMaterialCreate
source · pub struct PddGoodsMaterialCreate {
pub content: Option<String>,
pub file_id: Option<i64>,
pub goods_id: Option<i64>,
pub material_type: Option<i32>,
}Expand description
上传白底图长图等素材到商品
Fields§
§content: Option<String>素材内容(一般为图片链接)
file_id: Option<i64>图片空间文件id
goods_id: Option<i64>商品id
material_type: Option<i32>素材类型(1:白底图;3:长图)
Trait Implementations§
source§impl Debug for PddGoodsMaterialCreate
impl Debug for PddGoodsMaterialCreate
source§impl Default for PddGoodsMaterialCreate
impl Default for PddGoodsMaterialCreate
source§fn default() -> PddGoodsMaterialCreate
fn default() -> PddGoodsMaterialCreate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PddGoodsMaterialCreate
impl<'de> Deserialize<'de> for PddGoodsMaterialCreate
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 Request for PddGoodsMaterialCreate
impl Request for PddGoodsMaterialCreate
Auto Trait Implementations§
impl RefUnwindSafe for PddGoodsMaterialCreate
impl Send for PddGoodsMaterialCreate
impl Sync for PddGoodsMaterialCreate
impl Unpin for PddGoodsMaterialCreate
impl UnwindSafe for PddGoodsMaterialCreate
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