pub struct BatchCommonParams {
pub user_id_type: Option<String>,
pub client_token: Option<String>,
}Expand description
通用批量操作参数。
Fields§
§user_id_type: Option<String>用户 ID 类型。
client_token: Option<String>客户端幂等令牌。
Implementations§
Source§impl BatchCommonParams
impl BatchCommonParams
Sourcepub fn with_user_id_type(self, user_id_type: impl ToString) -> Self
pub fn with_user_id_type(self, user_id_type: impl ToString) -> Self
设置用户 ID 类型。
Sourcepub fn with_client_token(self, client_token: impl ToString) -> Self
pub fn with_client_token(self, client_token: impl ToString) -> Self
设置客户端幂等令牌。
Trait Implementations§
Source§impl Clone for BatchCommonParams
impl Clone for BatchCommonParams
Source§fn clone(&self) -> BatchCommonParams
fn clone(&self) -> BatchCommonParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchCommonParams
impl Debug for BatchCommonParams
Source§impl Default for BatchCommonParams
impl Default for BatchCommonParams
Source§fn default() -> BatchCommonParams
fn default() -> BatchCommonParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchCommonParams
impl<'de> Deserialize<'de> for BatchCommonParams
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
Auto Trait Implementations§
impl Freeze for BatchCommonParams
impl RefUnwindSafe for BatchCommonParams
impl Send for BatchCommonParams
impl Sync for BatchCommonParams
impl Unpin for BatchCommonParams
impl UnsafeUnpin for BatchCommonParams
impl UnwindSafe for BatchCommonParams
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