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§

source

fn get_blog_post(&self) -> &[BlogPostProperty]

Get https://schema.org/blogPost from Self as borrowed slice.

source

fn take_blog_post(&mut self) -> Vec<BlogPostProperty>

Take https://schema.org/blogPost from Self as owned vector.

source

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.

source

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.

source

fn get_issn(&self) -> &[IssnProperty]

Get https://schema.org/issn from Self as borrowed slice.

source

fn take_issn(&mut self) -> Vec<IssnProperty>

Take https://schema.org/issn from Self as owned vector.

Implementors§