pub enum ContentPriority {
Background,
Normal,
High,
}Expand description
The priority a content block should be rendered with. The schema is a string union; the typed form is the same five-value space.
Variants§
Background
The block is incidental; the UI may render it behind a “show details” affordance.
Normal
The default priority.
High
The block is important; the UI should surface it prominently.
Trait Implementations§
Source§impl Clone for ContentPriority
impl Clone for ContentPriority
impl Copy for ContentPriority
Source§impl Debug for ContentPriority
impl Debug for ContentPriority
Source§impl<'de> Deserialize<'de> for ContentPriority
impl<'de> Deserialize<'de> for ContentPriority
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 ContentPriority
Source§impl PartialEq for ContentPriority
impl PartialEq for ContentPriority
Source§impl Serialize for ContentPriority
impl Serialize for ContentPriority
impl StructuralPartialEq for ContentPriority
Auto Trait Implementations§
impl Freeze for ContentPriority
impl RefUnwindSafe for ContentPriority
impl Send for ContentPriority
impl Sync for ContentPriority
impl Unpin for ContentPriority
impl UnsafeUnpin for ContentPriority
impl UnwindSafe for ContentPriority
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