pub struct CreateTklRequest {
pub sid: String,
pub pid: String,
pub num_iid: Option<String>,
pub url: Option<String>,
pub text: Option<String>,
pub logo: Option<String>,
pub relation_id: Option<String>,
}Expand description
创建淘口令请求
生成淘口令
Fields§
§sid: String淘客账号授权 ID
pid: String淘客 PID
num_iid: Option<String>商品 ID
url: Option<String>推广链接 URL
text: Option<String>淘口令文案
logo: Option<String>淘口令 logo 图片 URL
relation_id: Option<String>渠道关系 ID (可选)
Implementations§
Trait Implementations§
Source§impl Clone for CreateTklRequest
impl Clone for CreateTklRequest
Source§fn clone(&self) -> CreateTklRequest
fn clone(&self) -> CreateTklRequest
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 CreateTklRequest
impl Debug for CreateTklRequest
Auto Trait Implementations§
impl Freeze for CreateTklRequest
impl RefUnwindSafe for CreateTklRequest
impl Send for CreateTklRequest
impl Sync for CreateTklRequest
impl Unpin for CreateTklRequest
impl UnwindSafe for CreateTklRequest
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