pub struct GroupMetadata {Show 22 fields
pub id: Jid,
pub subject: String,
pub participants: Vec<GroupParticipant>,
pub addressing_mode: AddressingMode,
pub creator: Option<Jid>,
pub creation_time: Option<u64>,
pub subject_time: Option<u64>,
pub subject_owner: Option<Jid>,
pub description: Option<String>,
pub description_id: Option<String>,
pub is_locked: bool,
pub is_announcement: bool,
pub ephemeral_expiration: u32,
pub membership_approval: bool,
pub member_add_mode: Option<MemberAddMode>,
pub member_link_mode: Option<MemberLinkMode>,
pub size: Option<u32>,
pub is_parent_group: bool,
pub parent_group_jid: Option<Jid>,
pub is_default_sub_group: bool,
pub is_general_chat: bool,
pub allow_non_admin_sub_group_creation: bool,
}Fields§
§id: Jid§subject: String§participants: Vec<GroupParticipant>§addressing_mode: AddressingMode§creator: Option<Jid>Group creator JID.
creation_time: Option<u64>Group creation timestamp (Unix seconds).
subject_time: Option<u64>Subject modification timestamp (Unix seconds).
subject_owner: Option<Jid>Subject owner JID.
description: Option<String>Group description body text.
description_id: Option<String>Description ID (for conflict detection when updating).
is_locked: boolWhether the group is locked (only admins can edit group info).
is_announcement: boolWhether announcement mode is enabled (only admins can send messages).
ephemeral_expiration: u32Ephemeral message expiration in seconds (0 = disabled).
membership_approval: boolWhether membership approval is required to join.
member_add_mode: Option<MemberAddMode>Who can add members to the group.
member_link_mode: Option<MemberLinkMode>Who can use invite links.
size: Option<u32>Total participant count.
is_parent_group: boolWhether this group is a community parent group.
parent_group_jid: Option<Jid>JID of the parent community (for subgroups).
is_default_sub_group: boolWhether this is the default announcement subgroup of a community.
is_general_chat: boolWhether this is the general chat subgroup of a community.
allow_non_admin_sub_group_creation: boolWhether non-admin community members can create subgroups.
Trait Implementations§
Source§impl Clone for GroupMetadata
impl Clone for GroupMetadata
Source§fn clone(&self) -> GroupMetadata
fn clone(&self) -> GroupMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GroupMetadata
impl Debug for GroupMetadata
Source§impl From<GroupInfoResponse> for GroupMetadata
impl From<GroupInfoResponse> for GroupMetadata
Source§fn from(group: GroupInfoResponse) -> Self
fn from(group: GroupInfoResponse) -> Self
Auto Trait Implementations§
impl Freeze for GroupMetadata
impl RefUnwindSafe for GroupMetadata
impl Send for GroupMetadata
impl Sync for GroupMetadata
impl Unpin for GroupMetadata
impl UnsafeUnpin for GroupMetadata
impl UnwindSafe for GroupMetadata
Blanket Implementations§
Source§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
Source§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read moreSource§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read moreSource§fn aggregate_filter<P>(self, f: P) -> Self::Output
fn aggregate_filter<P>(self, f: P) -> Self::Output
Source§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self to an expression for Diesel’s query builder. Read more