pub struct SentMessage {
pub message_id: String,
pub turn_id: String,
pub disposition: SendDisposition,
/* private fields */
}Expand description
Receipt returned once Session::send accepts a message.
Fields§
§message_id: StringOpaque id of the accepted user message.
turn_id: StringOpaque id of the turn that accepted the message.
disposition: SendDispositionWhether acceptance started a turn or steered the active one.
Implementations§
Trait Implementations§
Source§impl Clone for SentMessage
impl Clone for SentMessage
Source§fn clone(&self) -> SentMessage
fn clone(&self) -> SentMessage
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SentMessage
impl !UnwindSafe for SentMessage
impl Freeze for SentMessage
impl Send for SentMessage
impl Sync for SentMessage
impl Unpin for SentMessage
impl UnsafeUnpin for SentMessage
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