pub struct Thread {
pub id: String,
pub type: Type,
pub project_id: Option<Option<String>>,
pub report_id: Option<Option<String>>,
pub messages: Vec<ThreadMessage>,
pub members: Vec<User>,
}
Fields§
§id: String
The ID of the thread
type: Type
§project_id: Option<Option<String>>
The ID of the associated project if a project thread
report_id: Option<Option<String>>
The ID of the associated report if a report thread
messages: Vec<ThreadMessage>
§members: Vec<User>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Thread
impl<'de> Deserialize<'de> for Thread
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
impl StructuralPartialEq for Thread
Auto Trait Implementations§
impl Freeze for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
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