pub struct VideoPlayCompleteEvent {
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 reply_token: String,
pub video_play_complete: Box<VideoPlayComplete>,
}Expand description
VideoPlayCompleteEvent : Event for when a user finishes viewing a video at least once with the specified trackingId sent by the LINE Official Account.
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>§reply_token: StringReply token used to send reply message to this event
video_play_complete: Box<VideoPlayComplete>Implementations§
Source§impl VideoPlayCompleteEvent
impl VideoPlayCompleteEvent
Sourcepub fn new(
type: String,
timestamp: i64,
mode: EventMode,
webhook_event_id: String,
delivery_context: DeliveryContext,
reply_token: String,
video_play_complete: VideoPlayComplete,
) -> VideoPlayCompleteEvent
pub fn new( type: String, timestamp: i64, mode: EventMode, webhook_event_id: String, delivery_context: DeliveryContext, reply_token: String, video_play_complete: VideoPlayComplete, ) -> VideoPlayCompleteEvent
Event for when a user finishes viewing a video at least once with the specified trackingId sent by the LINE Official Account.
Trait Implementations§
Source§impl Clone for VideoPlayCompleteEvent
impl Clone for VideoPlayCompleteEvent
Source§fn clone(&self) -> VideoPlayCompleteEvent
fn clone(&self) -> VideoPlayCompleteEvent
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 VideoPlayCompleteEvent
impl Debug for VideoPlayCompleteEvent
Source§impl Default for VideoPlayCompleteEvent
impl Default for VideoPlayCompleteEvent
Source§fn default() -> VideoPlayCompleteEvent
fn default() -> VideoPlayCompleteEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoPlayCompleteEvent
impl<'de> Deserialize<'de> for VideoPlayCompleteEvent
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 VideoPlayCompleteEvent
impl PartialEq for VideoPlayCompleteEvent
Source§impl Serialize for VideoPlayCompleteEvent
impl Serialize for VideoPlayCompleteEvent
impl StructuralPartialEq for VideoPlayCompleteEvent
Auto Trait Implementations§
impl Freeze for VideoPlayCompleteEvent
impl RefUnwindSafe for VideoPlayCompleteEvent
impl Send for VideoPlayCompleteEvent
impl Sync for VideoPlayCompleteEvent
impl Unpin for VideoPlayCompleteEvent
impl UnwindSafe for VideoPlayCompleteEvent
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