pub struct StreamInteraction {
pub id: Option<String>,
pub object: Option<String>,
pub model: Option<String>,
pub agent: Option<String>,
pub status: InteractionStatus,
pub created: Option<String>,
pub updated: Option<String>,
pub service_tier: Option<ServiceTier>,
pub usage: Option<InteractionUsage>,
pub steps: Vec<Step>,
}Expand description
Partial Interaction resource in stream events (may omit some fields).
Fields§
§id: Option<String>§object: Option<String>§model: Option<String>§agent: Option<String>§status: InteractionStatus§created: Option<String>§updated: Option<String>§service_tier: Option<ServiceTier>§usage: Option<InteractionUsage>§steps: Vec<Step>Trait Implementations§
Source§impl Clone for StreamInteraction
impl Clone for StreamInteraction
Source§fn clone(&self) -> StreamInteraction
fn clone(&self) -> StreamInteraction
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 StreamInteraction
impl Debug for StreamInteraction
Source§impl Default for StreamInteraction
impl Default for StreamInteraction
Source§fn default() -> StreamInteraction
fn default() -> StreamInteraction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamInteraction
impl<'de> Deserialize<'de> for StreamInteraction
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 StreamInteraction
impl RefUnwindSafe for StreamInteraction
impl Send for StreamInteraction
impl Sync for StreamInteraction
impl Unpin for StreamInteraction
impl UnsafeUnpin for StreamInteraction
impl UnwindSafe for StreamInteraction
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