Struct opengraph::Object
[−]
[src]
pub struct Object { pub obj_type: ObjectType, pub title: String, pub url: String, pub images: Vec<Image>, pub audios: Vec<Audio>, pub videos: Vec<Video>, pub description: Option<String>, pub determiner: Option<Determiner>, pub locale: Option<String>, pub locale_alternate: Vec<String>, pub site_name: Option<String>, }
Fields
obj_type: ObjectType
title: String
url: String
images: Vec<Image>
audios: Vec<Audio>
videos: Vec<Video>
description: Option<String>
determiner: Option<Determiner>
locale: Option<String>
locale_alternate: Vec<String>
site_name: Option<String>
Methods
impl Object
[src]
Trait Implementations
impl Debug for Object
[src]
impl Default for Object
[src]
impl Clone for Object
[src]
fn clone(&self) -> Object
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more