pub struct BedrockInvocation {
pub model_id: String,
pub input: String,
pub output: String,
pub timestamp: String,
pub error: Option<String>,
}Fields§
§model_id: String§input: String§output: String§timestamp: String§error: Option<String>Error detail for faulted calls, or None on success.
Trait Implementations§
Source§impl Clone for BedrockInvocation
impl Clone for BedrockInvocation
Source§fn clone(&self) -> BedrockInvocation
fn clone(&self) -> BedrockInvocation
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 BedrockInvocation
impl Debug for BedrockInvocation
Source§impl<'de> Deserialize<'de> for BedrockInvocation
impl<'de> Deserialize<'de> for BedrockInvocation
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 BedrockInvocation
impl RefUnwindSafe for BedrockInvocation
impl Send for BedrockInvocation
impl Sync for BedrockInvocation
impl Unpin for BedrockInvocation
impl UnsafeUnpin for BedrockInvocation
impl UnwindSafe for BedrockInvocation
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