pub struct GroupUpdateEvent {
pub group: Option<Box<Group>>,
pub original: Option<Box<Group>>,
pub create_instant: Option<i64>,
pub id: Option<Uuid>,
pub info: Option<Box<EventInfo>>,
pub tenant_id: Option<Uuid>,
pub type: Option<EventType>,
}
Expand description
GroupUpdateEvent : Models the Group Update Event.
Fields§
§group: Option<Box<Group>>
§original: Option<Box<Group>>
§create_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
id: Option<Uuid>
§info: Option<Box<EventInfo>>
§tenant_id: Option<Uuid>
§type: Option<EventType>
Implementations§
source§impl GroupUpdateEvent
impl GroupUpdateEvent
sourcepub fn new() -> GroupUpdateEvent
pub fn new() -> GroupUpdateEvent
Models the Group Update Event.
Trait Implementations§
source§impl Clone for GroupUpdateEvent
impl Clone for GroupUpdateEvent
source§fn clone(&self) -> GroupUpdateEvent
fn clone(&self) -> GroupUpdateEvent
Returns a copy 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 GroupUpdateEvent
impl Debug for GroupUpdateEvent
source§impl Default for GroupUpdateEvent
impl Default for GroupUpdateEvent
source§fn default() -> GroupUpdateEvent
fn default() -> GroupUpdateEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GroupUpdateEvent
impl<'de> Deserialize<'de> for GroupUpdateEvent
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 GroupUpdateEvent
impl PartialEq for GroupUpdateEvent
source§fn eq(&self, other: &GroupUpdateEvent) -> bool
fn eq(&self, other: &GroupUpdateEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupUpdateEvent
impl Serialize for GroupUpdateEvent
impl StructuralPartialEq for GroupUpdateEvent
Auto Trait Implementations§
impl RefUnwindSafe for GroupUpdateEvent
impl Send for GroupUpdateEvent
impl Sync for GroupUpdateEvent
impl Unpin for GroupUpdateEvent
impl UnwindSafe for GroupUpdateEvent
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