pub struct ComputeTokensConfig {
pub http_options: Option<HttpOptions>,
}Expand description
ComputeTokens 请求配置。
Fields§
§http_options: Option<HttpOptions>Optional. HTTP request overrides (SDK only, not sent to API).
Trait Implementations§
Source§impl Clone for ComputeTokensConfig
impl Clone for ComputeTokensConfig
Source§fn clone(&self) -> ComputeTokensConfig
fn clone(&self) -> ComputeTokensConfig
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 ComputeTokensConfig
impl Debug for ComputeTokensConfig
Source§impl Default for ComputeTokensConfig
impl Default for ComputeTokensConfig
Source§fn default() -> ComputeTokensConfig
fn default() -> ComputeTokensConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputeTokensConfig
impl<'de> Deserialize<'de> for ComputeTokensConfig
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 ComputeTokensConfig
impl RefUnwindSafe for ComputeTokensConfig
impl Send for ComputeTokensConfig
impl Sync for ComputeTokensConfig
impl Unpin for ComputeTokensConfig
impl UnsafeUnpin for ComputeTokensConfig
impl UnwindSafe for ComputeTokensConfig
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