pub enum OpenGraphType {
Website,
Article,
Product,
Profile,
LocalBusiness,
}Expand description
Open Graph type label.
Variants§
Website
Generic website.
Article
Article surface.
Product
Product surface.
Profile
Profile surface.
LocalBusiness
Local business surface.
Implementations§
Trait Implementations§
Source§impl Clone for OpenGraphType
impl Clone for OpenGraphType
Source§fn clone(&self) -> OpenGraphType
fn clone(&self) -> OpenGraphType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenGraphType
impl Debug for OpenGraphType
Source§impl Hash for OpenGraphType
impl Hash for OpenGraphType
Source§impl Ord for OpenGraphType
impl Ord for OpenGraphType
Source§fn cmp(&self, other: &OpenGraphType) -> Ordering
fn cmp(&self, other: &OpenGraphType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenGraphType
impl PartialEq for OpenGraphType
Source§fn eq(&self, other: &OpenGraphType) -> bool
fn eq(&self, other: &OpenGraphType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpenGraphType
impl PartialOrd for OpenGraphType
impl Copy for OpenGraphType
impl Eq for OpenGraphType
impl StructuralPartialEq for OpenGraphType
Auto Trait Implementations§
impl Freeze for OpenGraphType
impl RefUnwindSafe for OpenGraphType
impl Send for OpenGraphType
impl Sync for OpenGraphType
impl Unpin for OpenGraphType
impl UnsafeUnpin for OpenGraphType
impl UnwindSafe for OpenGraphType
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