Struct line_bot_messaging_api::webhook::LineWebhookEvent
source · pub struct LineWebhookEvent { /* private fields */ }
Implementations§
source§impl LineWebhookEvent
impl LineWebhookEvent
pub fn webhook_type(&self) -> &str
pub fn mode(&self) -> &str
pub fn timestamp(&self) -> u64
pub fn source(&self) -> &LineWebhookSource
pub fn webhook_event_id(&self) -> &str
pub fn delivery_context(&self) -> &LineDeliveryContext
pub fn data(&self) -> &LineWebhookEventObject
pub fn json(&self) -> &str
pub fn reply_token(&self) -> Option<&str>
Trait Implementations§
source§impl Clone for LineWebhookEvent
impl Clone for LineWebhookEvent
source§fn clone(&self) -> LineWebhookEvent
fn clone(&self) -> LineWebhookEvent
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 LineWebhookEvent
impl Debug for LineWebhookEvent
source§impl<'de> Deserialize<'de> for LineWebhookEvent
impl<'de> Deserialize<'de> for LineWebhookEvent
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
Auto Trait Implementations§
impl RefUnwindSafe for LineWebhookEvent
impl Send for LineWebhookEvent
impl Sync for LineWebhookEvent
impl Unpin for LineWebhookEvent
impl UnwindSafe for LineWebhookEvent
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