pub struct ContentAnnotations {
pub audience: Option<Vec<String>>,
pub priority: Option<f32>,
}
Expand description
Annotations for content items
Fields§
§audience: Option<Vec<String>>
Target audience for this content
priority: Option<f32>
Priority of this content (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for ContentAnnotations
impl Clone for ContentAnnotations
Source§fn clone(&self) -> ContentAnnotations
fn clone(&self) -> ContentAnnotations
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentAnnotations
impl Debug for ContentAnnotations
Source§impl<'de> Deserialize<'de> for ContentAnnotations
impl<'de> Deserialize<'de> for ContentAnnotations
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
Auto Trait Implementations§
impl Freeze for ContentAnnotations
impl RefUnwindSafe for ContentAnnotations
impl Send for ContentAnnotations
impl Sync for ContentAnnotations
impl Unpin for ContentAnnotations
impl UnwindSafe for ContentAnnotations
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