pub struct Chat {Show 19 fields
pub rowid: i64,
pub guid: String,
pub style: i64,
pub state: i64,
pub account_id: Option<String>,
pub properties: Option<Vec<u8>>,
pub chat_identifier: Option<String>,
pub service_name: Option<String>,
pub room_name: Option<String>,
pub account_login: Option<String>,
pub is_archived: bool,
pub last_read_message_timestamp: Option<i64>,
pub last_addressed_handle: Option<String>,
pub display_name: Option<String>,
pub group_id: Option<String>,
pub is_filtered: bool,
pub successful_query: bool,
pub participants: Vec<Handle>,
pub messages: Vec<Message>,
}Expand description
A chat row from the chat table.
Fields§
§rowid: i64§guid: String§style: i64§state: i64§account_id: Option<String>§properties: Option<Vec<u8>>§chat_identifier: Option<String>§service_name: Option<String>§room_name: Option<String>§account_login: Option<String>§is_archived: bool§last_read_message_timestamp: Option<i64>§last_addressed_handle: Option<String>§display_name: Option<String>§group_id: Option<String>§is_filtered: bool§successful_query: bool§participants: Vec<Handle>§messages: Vec<Message>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more