pub struct OnPageApiMicrodataPost {
pub id: String,
pub url: String,
pub tag: Option<String>,
}Expand description
Request for OnPageApi::microdata.
See https://docs.dataforseo.com/v3/on_page/microdata/.
Fields§
§id: StringTask identifier returned by the Task POST endpoint.
url: StringPage URL to validate structured markup for.
tag: Option<String>User-defined task identifier (max 255 characters).
Implementations§
Source§impl OnPageApiMicrodataPost
impl OnPageApiMicrodataPost
Sourcepub fn new(id: String, url: String) -> OnPageApiMicrodataPost
pub fn new(id: String, url: String) -> OnPageApiMicrodataPost
Creates a microdata request for task id and page url.
Trait Implementations§
Source§impl Clone for OnPageApiMicrodataPost
impl Clone for OnPageApiMicrodataPost
Source§impl Debug for OnPageApiMicrodataPost
impl Debug for OnPageApiMicrodataPost
Source§impl Default for OnPageApiMicrodataPost
impl Default for OnPageApiMicrodataPost
Source§impl<'de> Deserialize<'de> for OnPageApiMicrodataPost
impl<'de> Deserialize<'de> for OnPageApiMicrodataPost
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 OnPageApiMicrodataPost
impl RefUnwindSafe for OnPageApiMicrodataPost
impl Send for OnPageApiMicrodataPost
impl Sync for OnPageApiMicrodataPost
impl Unpin for OnPageApiMicrodataPost
impl UnsafeUnpin for OnPageApiMicrodataPost
impl UnwindSafe for OnPageApiMicrodataPost
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