pub struct GroupUpdated {
pub user: User,
pub from_group: GroupInfo,
pub to_group: GroupInfo,
pub member: Option<GroupMember>,
pub undocumented: BTreeMap<String, JsonObject>,
}Expand description
§Group events
Bots may use these events to manage users’ groups and business address groups.
Please note: programming groups is more complex than programming direct connections
Group profile or preferences updated.
Fields§
§user: User§from_group: GroupInfo§to_group: GroupInfo§member: Option<GroupMember>§undocumented: BTreeMap<String, JsonObject>Trait Implementations§
Source§impl Clone for GroupUpdated
impl Clone for GroupUpdated
Source§fn clone(&self) -> GroupUpdated
fn clone(&self) -> GroupUpdated
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GroupUpdated
impl Debug for GroupUpdated
Source§impl<'de> Deserialize<'de> for GroupUpdated
impl<'de> Deserialize<'de> for GroupUpdated
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
Source§impl PartialEq for GroupUpdated
impl PartialEq for GroupUpdated
Source§impl Serialize for GroupUpdated
impl Serialize for GroupUpdated
impl StructuralPartialEq for GroupUpdated
Auto Trait Implementations§
impl Freeze for GroupUpdated
impl RefUnwindSafe for GroupUpdated
impl Send for GroupUpdated
impl Sync for GroupUpdated
impl Unpin for GroupUpdated
impl UnwindSafe for GroupUpdated
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