Trait schema_org_types::ImageObjectTrait
source · pub trait ImageObjectTrait {
// Required methods
fn get_caption(&self) -> &[CaptionProperty];
fn take_caption(&mut self) -> Vec<CaptionProperty>;
fn get_embedded_text_caption(&self) -> &[EmbeddedTextCaptionProperty];
fn take_embedded_text_caption(&mut self) -> Vec<EmbeddedTextCaptionProperty>;
fn get_exif_data(&self) -> &[ExifDataProperty];
fn take_exif_data(&mut self) -> Vec<ExifDataProperty>;
fn get_representative_of_page(&self) -> &[RepresentativeOfPageProperty];
fn take_representative_of_page(
&mut self
) -> Vec<RepresentativeOfPageProperty>;
}
Expand description
This trait is for properties from https://schema.org/ImageObject.
Required Methods§
Get https://schema.org/caption from Self
as borrowed slice.
Take https://schema.org/caption from Self
as owned vector.
Get https://schema.org/embeddedTextCaption from Self
as borrowed slice.
Take https://schema.org/embeddedTextCaption from Self
as owned vector.
sourcefn get_exif_data(&self) -> &[ExifDataProperty]
fn get_exif_data(&self) -> &[ExifDataProperty]
Get https://schema.org/exifData from Self
as borrowed slice.
sourcefn take_exif_data(&mut self) -> Vec<ExifDataProperty>
fn take_exif_data(&mut self) -> Vec<ExifDataProperty>
Take https://schema.org/exifData from Self
as owned vector.
sourcefn get_representative_of_page(&self) -> &[RepresentativeOfPageProperty]
fn get_representative_of_page(&self) -> &[RepresentativeOfPageProperty]
Get https://schema.org/representativeOfPage from Self
as borrowed slice.
sourcefn take_representative_of_page(&mut self) -> Vec<RepresentativeOfPageProperty>
fn take_representative_of_page(&mut self) -> Vec<RepresentativeOfPageProperty>
Take https://schema.org/representativeOfPage from Self
as owned vector.