pub struct SendChatMessageResponse {
pub success: bool,
pub message_id: String,
pub channel_id: Option<String>,
pub thread_id: Option<String>,
pub provider: String,
pub error: Option<String>,
}Fields§
§success: bool§message_id: String§channel_id: Option<String>§thread_id: Option<String>§provider: String§error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SendChatMessageResponse
impl Clone for SendChatMessageResponse
Source§fn clone(&self) -> SendChatMessageResponse
fn clone(&self) -> SendChatMessageResponse
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 SendChatMessageResponse
impl Debug for SendChatMessageResponse
Source§impl Default for SendChatMessageResponse
impl Default for SendChatMessageResponse
Source§fn default() -> SendChatMessageResponse
fn default() -> SendChatMessageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendChatMessageResponse
impl<'de> Deserialize<'de> for SendChatMessageResponse
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 SendChatMessageResponse
impl PartialEq for SendChatMessageResponse
Source§fn eq(&self, other: &SendChatMessageResponse) -> bool
fn eq(&self, other: &SendChatMessageResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendChatMessageResponse
impl Serialize for SendChatMessageResponse
impl StructuralPartialEq for SendChatMessageResponse
Auto Trait Implementations§
impl Freeze for SendChatMessageResponse
impl RefUnwindSafe for SendChatMessageResponse
impl Send for SendChatMessageResponse
impl Sync for SendChatMessageResponse
impl Unpin for SendChatMessageResponse
impl UnsafeUnpin for SendChatMessageResponse
impl UnwindSafe for SendChatMessageResponse
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