pub struct Communication {
pub id: String,
pub comm_type: String,
pub message: Option<String>,
pub created_time: String,
pub details: HashMap<String, Value>,
}Expand description
Represents a communication message or thread.
Fields§
§id: StringThe communication ID.
comm_type: StringThe communication type.
message: Option<String>The message content.
created_time: StringTimestamp when created.
details: HashMap<String, Value>Additional fields.
Trait Implementations§
Source§impl Debug for Communication
impl Debug for Communication
Source§impl<'de> Deserialize<'de> for Communication
impl<'de> Deserialize<'de> for Communication
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
Auto Trait Implementations§
impl Freeze for Communication
impl RefUnwindSafe for Communication
impl Send for Communication
impl Sync for Communication
impl Unpin for Communication
impl UnwindSafe for Communication
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