pub struct SentMessage {
pub id: String,
pub thread_id: String,
pub adapter_name: String,
pub raw: Option<Box<dyn Any + Send + Sync>>,
}Expand description
Confirmation returned after a message has been successfully sent.
The raw field carries the adapter-native response for advanced
use-cases and is intentionally excluded from serialization.
Fields§
§id: StringPlatform-assigned message identifier.
thread_id: StringThread the message belongs to.
adapter_name: StringName of the adapter that sent this message.
raw: Option<Box<dyn Any + Send + Sync>>Adapter-native raw response object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SentMessage
impl !RefUnwindSafe for SentMessage
impl Send for SentMessage
impl Sync for SentMessage
impl Unpin for SentMessage
impl UnsafeUnpin for SentMessage
impl !UnwindSafe 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