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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 Freeze for LineWebhookEvent
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