pub struct Refinement {
pub aspect_distributions: Option<Vec<AspectDistribution>>,
pub dominant_category_id: Option<String>,
}Expand description
Refinement : This type identifies a product category and the aspects associated with that category. Each aspect distribution container returns the distribution of values that have been used for the aspect.
Fields§
§aspect_distributions: Option<Vec<AspectDistribution>>Contains information about one or more aspects that are associated with the category identified by dominantCategoryId.
dominant_category_id: Option<String>The ID of the category that eBay determines is most likely to cover the products matching the search criteria.
Implementations§
Source§impl Refinement
impl Refinement
Sourcepub fn new() -> Refinement
pub fn new() -> Refinement
This type identifies a product category and the aspects associated with that category. Each aspect distribution container returns the distribution of values that have been used for the aspect.
Trait Implementations§
Source§impl Clone for Refinement
impl Clone for Refinement
Source§fn clone(&self) -> Refinement
fn clone(&self) -> Refinement
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 Refinement
impl Debug for Refinement
Source§impl Default for Refinement
impl Default for Refinement
Source§fn default() -> Refinement
fn default() -> Refinement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Refinement
impl<'de> Deserialize<'de> for Refinement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Refinement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Refinement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Refinement
impl PartialEq for Refinement
Source§impl Serialize for Refinement
impl Serialize for Refinement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Refinement
Auto Trait Implementations§
impl Freeze for Refinement
impl RefUnwindSafe for Refinement
impl Send for Refinement
impl Sync for Refinement
impl Unpin for Refinement
impl UnsafeUnpin for Refinement
impl UnwindSafe for Refinement
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