pub struct SendResponse {
pub success: bool,
pub message_id: Option<String>,
pub error: Option<String>,
}Expand description
Response for an individual message in a batch.
Fields§
§success: boolWhether the message was sent successfully.
message_id: Option<String>The message ID, if sent successfully.
error: Option<String>The error message, if failed.
Trait Implementations§
Source§impl Clone for SendResponse
impl Clone for SendResponse
Source§fn clone(&self) -> SendResponse
fn clone(&self) -> SendResponse
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 moreAuto Trait Implementations§
impl Freeze for SendResponse
impl RefUnwindSafe for SendResponse
impl Send for SendResponse
impl Sync for SendResponse
impl Unpin for SendResponse
impl UnwindSafe for SendResponse
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