pub struct MessageSessionProjection {
pub source: SourceMessageId,
pub peer: String,
pub summary: String,
pub outgoing: bool,
pub unread: bool,
pub sender: Option<String>,
pub sender_display: Option<String>,
pub created_by_this_intent: bool,
}Fields§
§source: SourceMessageId§peer: String§summary: String§outgoing: bool§unread: bool§sender: Option<String>§sender_display: Option<String>§created_by_this_intent: boolOnly a durable coordinator intent can establish that an existing row came from this unfinished projection. Imported/adopted rows never gain unread.
Trait Implementations§
Source§impl Clone for MessageSessionProjection
impl Clone for MessageSessionProjection
Source§impl Debug for MessageSessionProjection
impl Debug for MessageSessionProjection
Source§impl<'de> Deserialize<'de> for MessageSessionProjection
impl<'de> Deserialize<'de> for MessageSessionProjection
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 MessageSessionProjection
impl RefUnwindSafe for MessageSessionProjection
impl Send for MessageSessionProjection
impl Sync for MessageSessionProjection
impl Unpin for MessageSessionProjection
impl UnsafeUnpin for MessageSessionProjection
impl UnwindSafe for MessageSessionProjection
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