Trait schema_org_types::BlogTrait
source · pub trait BlogTrait {
// Required methods
fn get_blog_post(&self) -> &[BlogPostProperty];
fn take_blog_post(&mut self) -> Vec<BlogPostProperty>;
fn get_blog_posts(&self) -> &[BlogPostsProperty];
fn take_blog_posts(&mut self) -> Vec<BlogPostsProperty>;
fn get_issn(&self) -> &[IssnProperty];
fn take_issn(&mut self) -> Vec<IssnProperty>;
}
Expand description
This trait is for properties from https://schema.org/Blog.
Required Methods§
sourcefn get_blog_post(&self) -> &[BlogPostProperty]
fn get_blog_post(&self) -> &[BlogPostProperty]
Get https://schema.org/blogPost from Self
as borrowed slice.
sourcefn take_blog_post(&mut self) -> Vec<BlogPostProperty>
fn take_blog_post(&mut self) -> Vec<BlogPostProperty>
Take https://schema.org/blogPost from Self
as owned vector.
sourcefn get_blog_posts(&self) -> &[BlogPostsProperty]
fn get_blog_posts(&self) -> &[BlogPostsProperty]
👎Deprecated: This schema is superseded by https://schema.org/blogPost.
Get https://schema.org/blogPosts from Self
as borrowed slice.
sourcefn take_blog_posts(&mut self) -> Vec<BlogPostsProperty>
fn take_blog_posts(&mut self) -> Vec<BlogPostsProperty>
👎Deprecated: This schema is superseded by https://schema.org/blogPost.
Take https://schema.org/blogPosts from Self
as owned vector.
sourcefn get_issn(&self) -> &[IssnProperty]
fn get_issn(&self) -> &[IssnProperty]
Get https://schema.org/issn from Self
as borrowed slice.
sourcefn take_issn(&mut self) -> Vec<IssnProperty>
fn take_issn(&mut self) -> Vec<IssnProperty>
Take https://schema.org/issn from Self
as owned vector.