pub struct MemberLeftEvent {
pub type: Option<String>,
pub source: Option<Box<Source>>,
pub timestamp: i64,
pub mode: EventMode,
pub webhook_event_id: String,
pub delivery_context: Box<DeliveryContext>,
pub left: Box<LeftMembers>,
}Expand description
MemberLeftEvent : Event object for when a user leaves a group chat or multi-person chat that the LINE Official Account is in.
Fields§
§type: Option<String>Type of the event
source: Option<Box<Source>>§timestamp: i64Time of the event in milliseconds.
mode: EventMode§webhook_event_id: StringWebhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
delivery_context: Box<DeliveryContext>§left: Box<LeftMembers>Implementations§
Source§impl MemberLeftEvent
impl MemberLeftEvent
Sourcepub fn new(
type: String,
timestamp: i64,
mode: EventMode,
webhook_event_id: String,
delivery_context: DeliveryContext,
left: LeftMembers,
) -> MemberLeftEvent
pub fn new( type: String, timestamp: i64, mode: EventMode, webhook_event_id: String, delivery_context: DeliveryContext, left: LeftMembers, ) -> MemberLeftEvent
Event object for when a user leaves a group chat or multi-person chat that the LINE Official Account is in.
Trait Implementations§
Source§impl Clone for MemberLeftEvent
impl Clone for MemberLeftEvent
Source§fn clone(&self) -> MemberLeftEvent
fn clone(&self) -> MemberLeftEvent
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 MemberLeftEvent
impl Debug for MemberLeftEvent
Source§impl Default for MemberLeftEvent
impl Default for MemberLeftEvent
Source§fn default() -> MemberLeftEvent
fn default() -> MemberLeftEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemberLeftEvent
impl<'de> Deserialize<'de> for MemberLeftEvent
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 MemberLeftEvent
impl PartialEq for MemberLeftEvent
Source§impl Serialize for MemberLeftEvent
impl Serialize for MemberLeftEvent
impl StructuralPartialEq for MemberLeftEvent
Auto Trait Implementations§
impl Freeze for MemberLeftEvent
impl RefUnwindSafe for MemberLeftEvent
impl Send for MemberLeftEvent
impl Sync for MemberLeftEvent
impl Unpin for MemberLeftEvent
impl UnwindSafe for MemberLeftEvent
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