pub struct GoogleLocalBusinessProfile;Expand description
Google Rich Results profile for LocalBusiness structured data.
Applies to: LocalBusiness and all subtypes (Restaurant, Store,
MedicalClinic, etc.) via inheritance.
Trait Implementations§
Source§impl Profile for GoogleLocalBusinessProfile
impl Profile for GoogleLocalBusinessProfile
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 GoogleLocalBusinessProfile
impl RefUnwindSafe for GoogleLocalBusinessProfile
impl Send for GoogleLocalBusinessProfile
impl Sync for GoogleLocalBusinessProfile
impl Unpin for GoogleLocalBusinessProfile
impl UnsafeUnpin for GoogleLocalBusinessProfile
impl UnwindSafe for GoogleLocalBusinessProfile
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