pub struct CategoryTree {
pub applicable_marketplace_ids: Option<Vec<String>>,
pub category_tree_id: Option<String>,
pub category_tree_version: Option<String>,
pub root_category_node: Option<Box<CategoryTreeNode>>,
}
Expand description
CategoryTree : This type contains information about all nodes of a specified eBay category tree.
Fields§
§applicable_marketplace_ids: Option<Vec<String>>
A list of one or more identifiers of the eBay marketplaces that use this category tree.
category_tree_id: Option<String>
The unique identifier of this eBay category tree.
category_tree_version: Option<String>
The version of this category tree. It’s a good idea to cache this value for comparison so you can determine if this category tree has been modified in subsequent calls.
root_category_node: Option<Box<CategoryTreeNode>>
Implementations§
Source§impl CategoryTree
impl CategoryTree
Sourcepub fn new() -> CategoryTree
pub fn new() -> CategoryTree
This type contains information about all nodes of a specified eBay category tree.
Trait Implementations§
Source§impl Clone for CategoryTree
impl Clone for CategoryTree
Source§fn clone(&self) -> CategoryTree
fn clone(&self) -> CategoryTree
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 CategoryTree
impl Debug for CategoryTree
Source§impl Default for CategoryTree
impl Default for CategoryTree
Source§fn default() -> CategoryTree
fn default() -> CategoryTree
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CategoryTree
impl<'de> Deserialize<'de> for CategoryTree
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CategoryTree, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CategoryTree, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CategoryTree
impl PartialEq for CategoryTree
Source§impl Serialize for CategoryTree
impl Serialize for CategoryTree
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 CategoryTree
Auto Trait Implementations§
impl Freeze for CategoryTree
impl RefUnwindSafe for CategoryTree
impl Send for CategoryTree
impl Sync for CategoryTree
impl Unpin for CategoryTree
impl UnwindSafe for CategoryTree
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