pub struct BatchCreateParams {
pub input_file_id: Option<String>,
pub endpoint: Option<String>,
pub completion_window: Option<String>,
pub metadata: BTreeMap<String, String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 batch 创建参数。
Fields§
§input_file_id: Option<String>输入文件 ID。
endpoint: Option<String>目标接口路径。
completion_window: Option<String>完成窗口。
metadata: BTreeMap<String, String>自定义 metadata。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for BatchCreateParams
impl Clone for BatchCreateParams
Source§fn clone(&self) -> BatchCreateParams
fn clone(&self) -> BatchCreateParams
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 BatchCreateParams
impl Debug for BatchCreateParams
Source§impl Default for BatchCreateParams
impl Default for BatchCreateParams
Source§fn default() -> BatchCreateParams
fn default() -> BatchCreateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchCreateParams
impl<'de> Deserialize<'de> for BatchCreateParams
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 BatchCreateParams
impl RefUnwindSafe for BatchCreateParams
impl Send for BatchCreateParams
impl Sync for BatchCreateParams
impl Unpin for BatchCreateParams
impl UnsafeUnpin for BatchCreateParams
impl UnwindSafe for BatchCreateParams
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