pub enum PublicationTextRole {
Header,
Footer,
Title,
Subtitle,
Credit,
Copyright,
}Expand description
Semantic role for a host-rendered publication text block.
Variants§
Trait Implementations§
Source§impl Clone for PublicationTextRole
impl Clone for PublicationTextRole
Source§fn clone(&self) -> PublicationTextRole
fn clone(&self) -> PublicationTextRole
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 moreimpl Copy for PublicationTextRole
Source§impl Debug for PublicationTextRole
impl Debug for PublicationTextRole
Source§impl<'de> Deserialize<'de> for PublicationTextRole
impl<'de> Deserialize<'de> for PublicationTextRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PublicationTextRole
Source§impl PartialEq for PublicationTextRole
impl PartialEq for PublicationTextRole
Source§impl Serialize for PublicationTextRole
impl Serialize for PublicationTextRole
impl StructuralPartialEq for PublicationTextRole
Auto Trait Implementations§
impl Freeze for PublicationTextRole
impl RefUnwindSafe for PublicationTextRole
impl Send for PublicationTextRole
impl Sync for PublicationTextRole
impl Unpin for PublicationTextRole
impl UnsafeUnpin for PublicationTextRole
impl UnwindSafe for PublicationTextRole
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