pub struct BrowseNodeSubtopic {
pub subtopic: String,
pub metrics: Box<BrowseNodeReviewSubtopicMetrics>,
pub review_snippets: Option<Vec<String>>,
}Expand description
BrowseNodeSubtopic : The browse node review subtopic.
Fields§
§subtopic: StringThe name of the browse node review subtopic.
metrics: Box<BrowseNodeReviewSubtopicMetrics>§review_snippets: Option<Vec<String>>A list of up to three snippets from reviews that contain the topic. This value is null if there aren’t enough review snippets for the subtopic.
Implementations§
Source§impl BrowseNodeSubtopic
impl BrowseNodeSubtopic
Sourcepub fn new(
subtopic: String,
metrics: BrowseNodeReviewSubtopicMetrics,
) -> BrowseNodeSubtopic
pub fn new( subtopic: String, metrics: BrowseNodeReviewSubtopicMetrics, ) -> BrowseNodeSubtopic
The browse node review subtopic.
Trait Implementations§
Source§impl Clone for BrowseNodeSubtopic
impl Clone for BrowseNodeSubtopic
Source§fn clone(&self) -> BrowseNodeSubtopic
fn clone(&self) -> BrowseNodeSubtopic
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 BrowseNodeSubtopic
impl Debug for BrowseNodeSubtopic
Source§impl Default for BrowseNodeSubtopic
impl Default for BrowseNodeSubtopic
Source§fn default() -> BrowseNodeSubtopic
fn default() -> BrowseNodeSubtopic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrowseNodeSubtopic
impl<'de> Deserialize<'de> for BrowseNodeSubtopic
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
Source§impl PartialEq for BrowseNodeSubtopic
impl PartialEq for BrowseNodeSubtopic
Source§impl Serialize for BrowseNodeSubtopic
impl Serialize for BrowseNodeSubtopic
impl StructuralPartialEq for BrowseNodeSubtopic
Auto Trait Implementations§
impl Freeze for BrowseNodeSubtopic
impl RefUnwindSafe for BrowseNodeSubtopic
impl Send for BrowseNodeSubtopic
impl Sync for BrowseNodeSubtopic
impl Unpin for BrowseNodeSubtopic
impl UnsafeUnpin for BrowseNodeSubtopic
impl UnwindSafe for BrowseNodeSubtopic
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