pub struct Eval {
pub id: String,
pub object: String,
pub name: Option<String>,
pub status: Option<String>,
pub created_at: Option<u64>,
pub metadata: BTreeMap<String, String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 eval 对象。
Fields§
§id: StringEval ID。
object: String对象类型。
name: Option<String>名称。
status: Option<String>当前状态。
created_at: Option<u64>创建时间。
metadata: BTreeMap<String, String>自定义 metadata。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Eval
impl<'de> Deserialize<'de> for Eval
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 Eval
impl RefUnwindSafe for Eval
impl Send for Eval
impl Sync for Eval
impl Unpin for Eval
impl UnsafeUnpin for Eval
impl UnwindSafe for Eval
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