Struct chromiumoxide_cdp::cdp::browser_protocol::input::DragDataItem
source · pub struct DragDataItem {
pub mime_type: String,
pub data: String,
pub title: Option<String>,
pub base_url: Option<String>,
}Fields§
§mime_type: StringMime type of the dragged data.
data: StringDepending of the value of mimeType, it contains the dragged link,
text, HTML markup or any other data.
title: Option<String>Title associated with a link. Only valid when mimeType == “text/uri-list”.
base_url: Option<String>Stores the base URL for the contained markup. Only valid when mimeType
== “text/html”.
Implementations§
source§impl DragDataItem
impl DragDataItem
source§impl DragDataItem
impl DragDataItem
pub fn builder() -> DragDataItemBuilder
source§impl DragDataItem
impl DragDataItem
pub const IDENTIFIER: &'static str = "Input.DragDataItem"
Trait Implementations§
source§impl Clone for DragDataItem
impl Clone for DragDataItem
source§fn clone(&self) -> DragDataItem
fn clone(&self) -> DragDataItem
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 DragDataItem
impl Debug for DragDataItem
source§impl<'de> Deserialize<'de> for DragDataItem
impl<'de> Deserialize<'de> for DragDataItem
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<DragDataItem> for DragDataItem
impl PartialEq<DragDataItem> for DragDataItem
source§fn eq(&self, other: &DragDataItem) -> bool
fn eq(&self, other: &DragDataItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.