pub struct BetaAssistant {
pub id: String,
pub object: String,
pub model: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub instructions: Option<String>,
pub tools: Vec<BetaAssistantTool>,
pub metadata: Option<BTreeMap<String, String>>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 beta assistant 对象。
Fields§
§id: String对象 ID。
object: String对象类型。
model: Option<String>模型 ID。
name: Option<String>名称。
description: Option<String>描述。
instructions: Option<String>指令。
tools: Vec<BetaAssistantTool>工具集合。
metadata: Option<BTreeMap<String, String>>元数据。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for BetaAssistant
impl Clone for BetaAssistant
Source§fn clone(&self) -> BetaAssistant
fn clone(&self) -> BetaAssistant
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 BetaAssistant
impl Debug for BetaAssistant
Source§impl Default for BetaAssistant
impl Default for BetaAssistant
Source§fn default() -> BetaAssistant
fn default() -> BetaAssistant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BetaAssistant
impl<'de> Deserialize<'de> for BetaAssistant
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 BetaAssistant
impl RefUnwindSafe for BetaAssistant
impl Send for BetaAssistant
impl Sync for BetaAssistant
impl Unpin for BetaAssistant
impl UnsafeUnpin for BetaAssistant
impl UnwindSafe for BetaAssistant
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