pub struct ResponseStartedEvent {
pub type: Option<Type>,
pub created_at: Option<String>,
pub conversation_id: String,
}Fields§
§type: Option<Type>§created_at: Option<String>§conversation_id: StringImplementations§
Source§impl ResponseStartedEvent
impl ResponseStartedEvent
pub fn new(conversation_id: String) -> ResponseStartedEvent
Trait Implementations§
Source§impl Clone for ResponseStartedEvent
impl Clone for ResponseStartedEvent
Source§fn clone(&self) -> ResponseStartedEvent
fn clone(&self) -> ResponseStartedEvent
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 ResponseStartedEvent
impl Debug for ResponseStartedEvent
Source§impl Default for ResponseStartedEvent
impl Default for ResponseStartedEvent
Source§fn default() -> ResponseStartedEvent
fn default() -> ResponseStartedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseStartedEvent
impl<'de> Deserialize<'de> for ResponseStartedEvent
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
Source§impl PartialEq for ResponseStartedEvent
impl PartialEq for ResponseStartedEvent
Source§impl Serialize for ResponseStartedEvent
impl Serialize for ResponseStartedEvent
impl StructuralPartialEq for ResponseStartedEvent
Auto Trait Implementations§
impl Freeze for ResponseStartedEvent
impl RefUnwindSafe for ResponseStartedEvent
impl Send for ResponseStartedEvent
impl Sync for ResponseStartedEvent
impl Unpin for ResponseStartedEvent
impl UnsafeUnpin for ResponseStartedEvent
impl UnwindSafe for ResponseStartedEvent
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