pub struct ChatResponseMessage {
pub chat_id: Option<String>,
pub created: Option<String>,
pub content: Option<String>,
pub identity_id: Option<IdentityId>,
}Fields§
§chat_id: Option<String>§created: Option<String>when the message was created
content: Option<String>§identity_id: Option<IdentityId>who the answer is from
Implementations§
Source§impl ChatResponseMessage
impl ChatResponseMessage
pub fn new() -> ChatResponseMessage
Trait Implementations§
Source§impl Clone for ChatResponseMessage
impl Clone for ChatResponseMessage
Source§fn clone(&self) -> ChatResponseMessage
fn clone(&self) -> ChatResponseMessage
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 ChatResponseMessage
impl Debug for ChatResponseMessage
Source§impl Default for ChatResponseMessage
impl Default for ChatResponseMessage
Source§fn default() -> ChatResponseMessage
fn default() -> ChatResponseMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatResponseMessage
impl<'de> Deserialize<'de> for ChatResponseMessage
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 ChatResponseMessage
impl PartialEq for ChatResponseMessage
Source§impl Serialize for ChatResponseMessage
impl Serialize for ChatResponseMessage
impl StructuralPartialEq for ChatResponseMessage
Auto Trait Implementations§
impl Freeze for ChatResponseMessage
impl RefUnwindSafe for ChatResponseMessage
impl Send for ChatResponseMessage
impl Sync for ChatResponseMessage
impl Unpin for ChatResponseMessage
impl UnwindSafe for ChatResponseMessage
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