pub struct StoredGroup {Show 20 fields
pub id: Vec<u8>,
pub created_at_ns: i64,
pub membership_state: GroupMembershipState,
pub installations_last_checked: i64,
pub added_by_inbox_id: String,
pub sequence_id: Option<i64>,
pub rotated_at_ns: i64,
pub conversation_type: ConversationType,
pub dm_id: Option<String>,
pub last_message_ns: Option<i64>,
pub message_disappear_from_ns: Option<i64>,
pub message_disappear_in_ns: Option<i64>,
pub paused_for_version: Option<String>,
pub maybe_forked: bool,
pub fork_details: String,
pub originator_id: Option<i64>,
pub should_publish_commit_log: bool,
pub commit_log_public_key: Option<Vec<u8>>,
pub is_commit_log_forked: Option<bool>,
pub has_pending_leave_request: Option<bool>,
}Expand description
A Unique group chat
Fields§
§id: Vec<u8>Randomly generated ID by group creator
created_at_ns: i64Based on timestamp of this welcome message
membership_state: GroupMembershipStateEnum, GroupMembershipState representing access to the group
installations_last_checked: i64Track when the latest, most recent installations were checked
added_by_inbox_id: StringThe inbox_id of who added the user to a group.
sequence_id: Option<i64>The sequence id of the welcome message
rotated_at_ns: i64The last time the leaf node encryption key was rotated
conversation_type: ConversationTypeEnum, ConversationType signifies the group conversation type which extends to who can access it.
dm_id: Option<String>The inbox_id of the DM target
last_message_ns: Option<i64>Timestamp of when the last message was sent for this group (updated automatically in a trigger)
message_disappear_from_ns: Option<i64>The Time in NS when the messages should be deleted
message_disappear_in_ns: Option<i64>How long a message in the group can live in NS
paused_for_version: Option<String>The version of the protocol that the group is paused for, None is not paused
maybe_forked: bool§fork_details: String§originator_id: Option<i64>The Originator Node ID of the WelcomeMessage
should_publish_commit_log: boolWhether the user should publish the commit log for this group
commit_log_public_key: Option<Vec<u8>>The consensus public key of the commit log for this group Derived from the first entry of the commit log
is_commit_log_forked: Option<bool>Whether the local commit log has diverged from the remote commit log NULL if the remote commit log is not up to date yet
has_pending_leave_request: Option<bool>Whether the pending-remove list is empty NULL if the pending-remove didn’t receive an update yet
Implementations§
Source§impl StoredGroup
impl StoredGroup
pub fn builder() -> StoredGroupBuilder
Trait Implementations§
Source§impl<'update> AsChangeset for &'update StoredGroup
impl<'update> AsChangeset for &'update StoredGroup
Source§type Changeset = <(Grouped<Eq<created_at_ns, <&'update i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<membership_state, <&'update GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>, Grouped<Eq<installations_last_checked, <&'update i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>, Grouped<Eq<added_by_inbox_id, <&'update String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<sequence_id, <&'update i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<rotated_at_ns, <&'update i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<conversation_type, <&'update ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<dm_id, <&'update String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <&'update i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <&'update i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <&'update i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <&'update String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Grouped<Eq<maybe_forked, <&'update bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>, Grouped<Eq<fork_details, <&'update String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<originator_id, <&'update i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<should_publish_commit_log, <&'update bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<commit_log_public_key, <&'update Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <&'update bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <&'update bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<created_at_ns, <&'update i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<membership_state, <&'update GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>, Grouped<Eq<installations_last_checked, <&'update i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>, Grouped<Eq<added_by_inbox_id, <&'update String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<sequence_id, <&'update i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<rotated_at_ns, <&'update i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<conversation_type, <&'update ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<dm_id, <&'update String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <&'update i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <&'update i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <&'update i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <&'update String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Grouped<Eq<maybe_forked, <&'update bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>, Grouped<Eq<fork_details, <&'update String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<originator_id, <&'update i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<should_publish_commit_log, <&'update bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<commit_log_public_key, <&'update Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <&'update bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <&'update bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as AsChangeset>::Changeset
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
self into the actual update statement being executedSource§impl AsChangeset for StoredGroup
impl AsChangeset for StoredGroup
Source§type Changeset = <(Grouped<Eq<created_at_ns, <i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<membership_state, <GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>, Grouped<Eq<installations_last_checked, <i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>, Grouped<Eq<added_by_inbox_id, <String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<sequence_id, <i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<rotated_at_ns, <i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<conversation_type, <ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<dm_id, <String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Grouped<Eq<maybe_forked, <bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>, Grouped<Eq<fork_details, <String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<originator_id, <i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<should_publish_commit_log, <bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<commit_log_public_key, <Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<created_at_ns, <i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<membership_state, <GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>, Grouped<Eq<installations_last_checked, <i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>, Grouped<Eq<added_by_inbox_id, <String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<sequence_id, <i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<rotated_at_ns, <i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>, Grouped<Eq<conversation_type, <ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<dm_id, <String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Grouped<Eq<maybe_forked, <bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>, Grouped<Eq<fork_details, <String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<originator_id, <i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Grouped<Eq<should_publish_commit_log, <bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>, Option<Grouped<Eq<commit_log_public_key, <Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as AsChangeset>::Changeset
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
self into the actual update statement being executedSource§impl Clone for StoredGroup
impl Clone for StoredGroup
Source§fn clone(&self) -> StoredGroup
fn clone(&self) -> StoredGroup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StoredGroup
impl Debug for StoredGroup
Source§impl<'de> Deserialize<'de> for StoredGroup
impl<'de> Deserialize<'de> for StoredGroup
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>,
Source§impl HasTable for StoredGroup
impl HasTable for StoredGroup
Source§impl<'ident> Identifiable for &'ident StoredGroup
impl<'ident> Identifiable for &'ident StoredGroup
Source§impl<'insert> Insertable<table> for &'insert StoredGroup
impl<'insert> Insertable<table> for &'insert StoredGroup
Source§type Values = <(Option<Grouped<Eq<id, <&'insert Vec<u8> as AsExpression<<id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<created_at_ns, <&'insert i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<membership_state, <&'insert GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<installations_last_checked, <&'insert i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<added_by_inbox_id, <&'insert String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sequence_id, <&'insert i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<rotated_at_ns, <&'insert i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<conversation_type, <&'insert ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<dm_id, <&'insert String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <&'insert i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <&'insert i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <&'insert i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <&'insert String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<maybe_forked, <&'insert bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<fork_details, <&'insert String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<originator_id, <&'insert i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<should_publish_commit_log, <&'insert bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<commit_log_public_key, <&'insert Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <&'insert bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <&'insert bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<id, <&'insert Vec<u8> as AsExpression<<id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<created_at_ns, <&'insert i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<membership_state, <&'insert GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<installations_last_checked, <&'insert i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<added_by_inbox_id, <&'insert String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sequence_id, <&'insert i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<rotated_at_ns, <&'insert i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<conversation_type, <&'insert ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<dm_id, <&'insert String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <&'insert i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <&'insert i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <&'insert i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <&'insert String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<maybe_forked, <&'insert bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<fork_details, <&'insert String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<originator_id, <&'insert i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<should_publish_commit_log, <&'insert bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<commit_log_public_key, <&'insert Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <&'insert bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <&'insert bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
VALUES clause to insert these records Read moreSource§fn values(
self,
) -> <(Option<Eq<id, &'insert Vec<u8>>>, Option<Eq<created_at_ns, &'insert i64>>, Option<Eq<membership_state, &'insert GroupMembershipState>>, Option<Eq<installations_last_checked, &'insert i64>>, Option<Eq<added_by_inbox_id, &'insert String>>, Option<Eq<sequence_id, &'insert i64>>, Option<Eq<rotated_at_ns, &'insert i64>>, Option<Eq<conversation_type, &'insert ConversationType>>, Option<Eq<dm_id, &'insert String>>, Option<Eq<last_message_ns, &'insert i64>>, Option<Eq<message_disappear_from_ns, &'insert i64>>, Option<Eq<message_disappear_in_ns, &'insert i64>>, Option<Eq<paused_for_version, &'insert String>>, Option<Eq<maybe_forked, &'insert bool>>, Option<Eq<fork_details, &'insert String>>, Option<Eq<originator_id, &'insert i64>>, Option<Eq<should_publish_commit_log, &'insert bool>>, Option<Eq<commit_log_public_key, &'insert Vec<u8>>>, Option<Eq<is_commit_log_forked, &'insert bool>>, Option<Eq<has_pending_leave_request, &'insert bool>>) as Insertable<table>>::Values
fn values( self, ) -> <(Option<Eq<id, &'insert Vec<u8>>>, Option<Eq<created_at_ns, &'insert i64>>, Option<Eq<membership_state, &'insert GroupMembershipState>>, Option<Eq<installations_last_checked, &'insert i64>>, Option<Eq<added_by_inbox_id, &'insert String>>, Option<Eq<sequence_id, &'insert i64>>, Option<Eq<rotated_at_ns, &'insert i64>>, Option<Eq<conversation_type, &'insert ConversationType>>, Option<Eq<dm_id, &'insert String>>, Option<Eq<last_message_ns, &'insert i64>>, Option<Eq<message_disappear_from_ns, &'insert i64>>, Option<Eq<message_disappear_in_ns, &'insert i64>>, Option<Eq<paused_for_version, &'insert String>>, Option<Eq<maybe_forked, &'insert bool>>, Option<Eq<fork_details, &'insert String>>, Option<Eq<originator_id, &'insert i64>>, Option<Eq<should_publish_commit_log, &'insert bool>>, Option<Eq<commit_log_public_key, &'insert Vec<u8>>>, Option<Eq<is_commit_log_forked, &'insert bool>>, Option<Eq<has_pending_leave_request, &'insert bool>>) as Insertable<table>>::Values
Self::Values Read more§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
T: Table,
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
T: Table,
Self: Sized,
self into a given table. Read moreSource§impl Insertable<table> for StoredGroup
impl Insertable<table> for StoredGroup
Source§type Values = <(Option<Grouped<Eq<id, <Vec<u8> as AsExpression<<id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<created_at_ns, <i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<membership_state, <GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<installations_last_checked, <i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<added_by_inbox_id, <String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sequence_id, <i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<rotated_at_ns, <i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<conversation_type, <ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<dm_id, <String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<maybe_forked, <bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<fork_details, <String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<originator_id, <i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<should_publish_commit_log, <bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<commit_log_public_key, <Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
type Values = <(Option<Grouped<Eq<id, <Vec<u8> as AsExpression<<id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<created_at_ns, <i64 as AsExpression<<created_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<membership_state, <GroupMembershipState as AsExpression<<membership_state as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<installations_last_checked, <i64 as AsExpression<<installations_last_checked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<added_by_inbox_id, <String as AsExpression<<added_by_inbox_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<sequence_id, <i64 as AsExpression<<sequence_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<rotated_at_ns, <i64 as AsExpression<<rotated_at_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<conversation_type, <ConversationType as AsExpression<<conversation_type as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<dm_id, <String as AsExpression<<dm_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<last_message_ns, <i64 as AsExpression<<last_message_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_from_ns, <i64 as AsExpression<<message_disappear_from_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<message_disappear_in_ns, <i64 as AsExpression<<message_disappear_in_ns as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<paused_for_version, <String as AsExpression<<paused_for_version as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<maybe_forked, <bool as AsExpression<<maybe_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<fork_details, <String as AsExpression<<fork_details as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<originator_id, <i64 as AsExpression<<originator_id as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<should_publish_commit_log, <bool as AsExpression<<should_publish_commit_log as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<commit_log_public_key, <Vec<u8> as AsExpression<<commit_log_public_key as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<is_commit_log_forked, <bool as AsExpression<<is_commit_log_forked as Expression>::SqlType>>::Expression>>>, Option<Grouped<Eq<has_pending_leave_request, <bool as AsExpression<<has_pending_leave_request as Expression>::SqlType>>::Expression>>>) as Insertable<table>>::Values
VALUES clause to insert these records Read moreSource§fn values(
self,
) -> <(Option<Eq<id, Vec<u8>>>, Option<Eq<created_at_ns, i64>>, Option<Eq<membership_state, GroupMembershipState>>, Option<Eq<installations_last_checked, i64>>, Option<Eq<added_by_inbox_id, String>>, Option<Eq<sequence_id, i64>>, Option<Eq<rotated_at_ns, i64>>, Option<Eq<conversation_type, ConversationType>>, Option<Eq<dm_id, String>>, Option<Eq<last_message_ns, i64>>, Option<Eq<message_disappear_from_ns, i64>>, Option<Eq<message_disappear_in_ns, i64>>, Option<Eq<paused_for_version, String>>, Option<Eq<maybe_forked, bool>>, Option<Eq<fork_details, String>>, Option<Eq<originator_id, i64>>, Option<Eq<should_publish_commit_log, bool>>, Option<Eq<commit_log_public_key, Vec<u8>>>, Option<Eq<is_commit_log_forked, bool>>, Option<Eq<has_pending_leave_request, bool>>) as Insertable<table>>::Values
fn values( self, ) -> <(Option<Eq<id, Vec<u8>>>, Option<Eq<created_at_ns, i64>>, Option<Eq<membership_state, GroupMembershipState>>, Option<Eq<installations_last_checked, i64>>, Option<Eq<added_by_inbox_id, String>>, Option<Eq<sequence_id, i64>>, Option<Eq<rotated_at_ns, i64>>, Option<Eq<conversation_type, ConversationType>>, Option<Eq<dm_id, String>>, Option<Eq<last_message_ns, i64>>, Option<Eq<message_disappear_from_ns, i64>>, Option<Eq<message_disappear_in_ns, i64>>, Option<Eq<paused_for_version, String>>, Option<Eq<maybe_forked, bool>>, Option<Eq<fork_details, String>>, Option<Eq<originator_id, i64>>, Option<Eq<should_publish_commit_log, bool>>, Option<Eq<commit_log_public_key, Vec<u8>>>, Option<Eq<is_commit_log_forked, bool>>, Option<Eq<has_pending_leave_request, bool>>) as Insertable<table>>::Values
Self::Values Read more§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
T: Table,
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
T: Table,
Self: Sized,
self into a given table. Read moreSource§impl PartialEq for StoredGroup
impl PartialEq for StoredGroup
Source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19), __DB> for StoredGroupwhere
(Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19), __DB> for StoredGroupwhere
(Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18, __ST19), __DB>,
Source§type Row = (Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>)
type Row = (Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>)
Source§fn build(
row: (Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>),
) -> Result<Self>
fn build( row: (Vec<u8>, i64, GroupMembershipState, i64, String, Option<i64>, i64, ConversationType, Option<String>, Option<i64>, Option<i64>, Option<i64>, Option<String>, bool, String, Option<i64>, bool, Option<Vec<u8>>, Option<bool>, Option<bool>), ) -> Result<Self>
Source§impl<__DB: Backend> QueryableByName<__DB> for StoredGroupwhere
Vec<u8>: FromSql<SqlTypeOf<id>, __DB>,
i64: FromSql<SqlTypeOf<created_at_ns>, __DB> + FromSql<SqlTypeOf<installations_last_checked>, __DB> + FromSql<SqlTypeOf<rotated_at_ns>, __DB>,
GroupMembershipState: FromSql<SqlTypeOf<membership_state>, __DB>,
String: FromSql<SqlTypeOf<added_by_inbox_id>, __DB> + FromSql<SqlTypeOf<fork_details>, __DB>,
Option<i64>: FromSql<SqlTypeOf<sequence_id>, __DB> + FromSql<SqlTypeOf<last_message_ns>, __DB> + FromSql<SqlTypeOf<message_disappear_from_ns>, __DB> + FromSql<SqlTypeOf<message_disappear_in_ns>, __DB> + FromSql<SqlTypeOf<originator_id>, __DB>,
ConversationType: FromSql<SqlTypeOf<conversation_type>, __DB>,
Option<String>: FromSql<SqlTypeOf<dm_id>, __DB> + FromSql<SqlTypeOf<paused_for_version>, __DB>,
bool: FromSql<SqlTypeOf<maybe_forked>, __DB> + FromSql<SqlTypeOf<should_publish_commit_log>, __DB>,
Option<Vec<u8>>: FromSql<SqlTypeOf<commit_log_public_key>, __DB>,
Option<bool>: FromSql<SqlTypeOf<is_commit_log_forked>, __DB> + FromSql<SqlTypeOf<has_pending_leave_request>, __DB>,
impl<__DB: Backend> QueryableByName<__DB> for StoredGroupwhere
Vec<u8>: FromSql<SqlTypeOf<id>, __DB>,
i64: FromSql<SqlTypeOf<created_at_ns>, __DB> + FromSql<SqlTypeOf<installations_last_checked>, __DB> + FromSql<SqlTypeOf<rotated_at_ns>, __DB>,
GroupMembershipState: FromSql<SqlTypeOf<membership_state>, __DB>,
String: FromSql<SqlTypeOf<added_by_inbox_id>, __DB> + FromSql<SqlTypeOf<fork_details>, __DB>,
Option<i64>: FromSql<SqlTypeOf<sequence_id>, __DB> + FromSql<SqlTypeOf<last_message_ns>, __DB> + FromSql<SqlTypeOf<message_disappear_from_ns>, __DB> + FromSql<SqlTypeOf<message_disappear_in_ns>, __DB> + FromSql<SqlTypeOf<originator_id>, __DB>,
ConversationType: FromSql<SqlTypeOf<conversation_type>, __DB>,
Option<String>: FromSql<SqlTypeOf<dm_id>, __DB> + FromSql<SqlTypeOf<paused_for_version>, __DB>,
bool: FromSql<SqlTypeOf<maybe_forked>, __DB> + FromSql<SqlTypeOf<should_publish_commit_log>, __DB>,
Option<Vec<u8>>: FromSql<SqlTypeOf<commit_log_public_key>, __DB>,
Option<bool>: FromSql<SqlTypeOf<is_commit_log_forked>, __DB> + FromSql<SqlTypeOf<has_pending_leave_request>, __DB>,
Source§impl<__DB: Backend> Selectable<__DB> for StoredGroup
impl<__DB: Backend> Selectable<__DB> for StoredGroup
Source§type SelectExpression = (id, created_at_ns, membership_state, installations_last_checked, added_by_inbox_id, sequence_id, rotated_at_ns, conversation_type, dm_id, last_message_ns, message_disappear_from_ns, message_disappear_in_ns, paused_for_version, maybe_forked, fork_details, originator_id, should_publish_commit_log, commit_log_public_key, is_commit_log_forked, has_pending_leave_request)
type SelectExpression = (id, created_at_ns, membership_state, installations_last_checked, added_by_inbox_id, sequence_id, rotated_at_ns, conversation_type, dm_id, last_message_ns, message_disappear_from_ns, message_disappear_in_ns, paused_for_version, maybe_forked, fork_details, originator_id, should_publish_commit_log, commit_log_public_key, is_commit_log_forked, has_pending_leave_request)
Source§fn construct_selection() -> Self::SelectExpression
fn construct_selection() -> Self::SelectExpression
Source§impl Serialize for StoredGroup
impl Serialize for StoredGroup
Source§impl<C> Store<C> for StoredGroupwhere
C: ConnectionExt,
impl<C> Store<C> for StoredGroupwhere
C: ConnectionExt,
Source§impl<C> StoreOrIgnore<C> for StoredGroupwhere
C: ConnectionExt,
impl<C> StoreOrIgnore<C> for StoredGroupwhere
C: ConnectionExt,
impl StructuralPartialEq for StoredGroup
impl UndecoratedInsertRecord<table> for StoredGroup
Auto Trait Implementations§
impl Freeze for StoredGroup
impl RefUnwindSafe for StoredGroup
impl Send for StoredGroup
impl Sync for StoredGroup
impl Unpin for StoredGroup
impl UnwindSafe for StoredGroup
Blanket Implementations§
§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read more§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read more§fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<C> Fetch<StoredGroup> for Cwhere
C: ConnectionExt,
impl<C> Fetch<StoredGroup> for Cwhere
C: ConnectionExt,
type Key = Vec<u8>
fn fetch( &self, key: &<C as Fetch<StoredGroup>>::Key, ) -> Result<Option<StoredGroup>, StorageError>
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<DB, T> FromSqlRow<Untyped, DB> for Twhere
DB: Backend,
T: QueryableByName<DB>,
impl<DB, T> FromSqlRow<Untyped, DB> for Twhere
DB: Backend,
T: QueryableByName<DB>,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, DB> SelectableHelper<DB> for Twhere
T: Selectable<DB>,
DB: Backend,
impl<T, DB> SelectableHelper<DB> for Twhere
T: Selectable<DB>,
DB: Backend,
§fn as_select() -> SelectBy<T, DB>
fn as_select() -> SelectBy<T, DB>
Selectable] implementation. Read more§fn as_returning() -> SelectBy<Self, DB>
fn as_returning() -> SelectBy<Self, DB>
as_select that can be used with returning clauses§impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.