pub struct GoogleArticleProfile;Expand description
Google Rich Results profile for Article structured data.
Applies to: Article, NewsArticle, BlogPosting, TechArticle,
ScholarlyArticle (all subtypes via inheritance).
Trait Implementations§
Source§impl Profile for GoogleArticleProfile
impl Profile for GoogleArticleProfile
Source§fn version(&self) -> &'static str
fn version(&self) -> &'static str
Profile version – date-based to track when rules were last verified
against the platform’s documentation.
Source§fn source_url(&self) -> &'static str
fn source_url(&self) -> &'static str
Source documentation URL.
Source§fn supported_types(&self) -> &[&str]
fn supported_types(&self) -> &[&str]
Which Schema.org types does this profile cover? Read more
Source§fn evaluate_node(
&self,
node: &SchemaNode,
_vocab_diagnostics: &[VD],
) -> NodeProfileResult
fn evaluate_node( &self, node: &SchemaNode, _vocab_diagnostics: &[VD], ) -> NodeProfileResult
Evaluate a single node against this profile’s rules. Read more
Auto Trait Implementations§
impl Freeze for GoogleArticleProfile
impl RefUnwindSafe for GoogleArticleProfile
impl Send for GoogleArticleProfile
impl Sync for GoogleArticleProfile
impl Unpin for GoogleArticleProfile
impl UnsafeUnpin for GoogleArticleProfile
impl UnwindSafe for GoogleArticleProfile
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