pub struct GroupInfo {Show 24 fields
pub group_id: i64,
pub use_relays: bool,
pub relay_own_status: Option<RelayStatus>,
pub local_display_name: String,
pub group_profile: GroupProfile,
pub local_alias: String,
pub business_chat: Option<BusinessChatInfo>,
pub full_group_preferences: FullGroupPreferences,
pub membership: GroupMember,
pub chat_settings: ChatSettings,
pub created_at: String,
pub updated_at: String,
pub chat_ts: Option<String>,
pub user_member_profile_sent_at: Option<String>,
pub prepared_group: Option<PreparedGroup>,
pub chat_tags: Vec<i64>,
pub chat_item_ttl: Option<i64>,
pub ui_themes: Option<UIThemeEntityOverrides>,
pub custom_data: Option<Value>,
pub group_summary: GroupSummary,
pub members_require_attention: i32,
pub via_group_link_uri: Option<String>,
pub group_keys: Option<GroupKeys>,
pub undocumented: Value,
}Fields§
§group_id: i64§use_relays: bool§relay_own_status: Option<RelayStatus>§local_display_name: String§group_profile: GroupProfile§local_alias: String§business_chat: Option<BusinessChatInfo>§full_group_preferences: FullGroupPreferences§membership: GroupMember§chat_settings: ChatSettings§created_at: String§updated_at: String§chat_ts: Option<String>§user_member_profile_sent_at: Option<String>§prepared_group: Option<PreparedGroup>§chat_item_ttl: Option<i64>§ui_themes: Option<UIThemeEntityOverrides>§custom_data: Option<Value>§group_summary: GroupSummary§members_require_attention: i32§via_group_link_uri: Option<String>§group_keys: Option<GroupKeys>§undocumented: ValueImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupInfo
impl<'de> Deserialize<'de> for GroupInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GroupInfo
impl Serialize for GroupInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GroupInfo
Auto Trait Implementations§
impl Freeze for GroupInfo
impl RefUnwindSafe for GroupInfo
impl Send for GroupInfo
impl Sync for GroupInfo
impl Unpin for GroupInfo
impl UnsafeUnpin for GroupInfo
impl UnwindSafe for GroupInfo
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> 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