pub struct PutModelInvocationRequest {
pub id: String,
pub conversation_id: String,
pub request_window_id: String,
pub model: String,
pub provider: String,
pub state: ModelInvocationState,
pub response: Option<Value>,
pub error_code: Option<String>,
pub usage: Value,
pub completed_at_ms: Option<i64>,
}Fields§
§id: String§conversation_id: String§request_window_id: String§model: String§provider: String§state: ModelInvocationState§response: Option<Value>§error_code: Option<String>§usage: Value§completed_at_ms: Option<i64>Trait Implementations§
Source§impl Clone for PutModelInvocationRequest
impl Clone for PutModelInvocationRequest
Source§fn clone(&self) -> PutModelInvocationRequest
fn clone(&self) -> PutModelInvocationRequest
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 PutModelInvocationRequest
impl Debug for PutModelInvocationRequest
Source§impl<'de> Deserialize<'de> for PutModelInvocationRequest
impl<'de> Deserialize<'de> for PutModelInvocationRequest
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
impl StructuralPartialEq for PutModelInvocationRequest
Auto Trait Implementations§
impl Freeze for PutModelInvocationRequest
impl RefUnwindSafe for PutModelInvocationRequest
impl Send for PutModelInvocationRequest
impl Sync for PutModelInvocationRequest
impl Unpin for PutModelInvocationRequest
impl UnsafeUnpin for PutModelInvocationRequest
impl UnwindSafe for PutModelInvocationRequest
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