pub struct SortOrderProperties {
pub order: Option<String>,
pub property_name: Option<String>,
}Expand description
SortOrderProperties : This type is used to define the property to be used in sorting.
Fields§
§order: Option<String>Defines the order of the sort.
Valid values:
AscendingDescending
property_name: Option<String>The name of the searchable property to be used for sorting.
For example, typical vehicle property names are ‘Make’, ‘Model’, ‘Year’, ‘Engine’, and ‘Trim’, but will vary based on the eBay marketplace and the eBay category.
Implementations§
Source§impl SortOrderProperties
impl SortOrderProperties
Sourcepub fn new() -> SortOrderProperties
pub fn new() -> SortOrderProperties
This type is used to define the property to be used in sorting.
Trait Implementations§
Source§impl Clone for SortOrderProperties
impl Clone for SortOrderProperties
Source§fn clone(&self) -> SortOrderProperties
fn clone(&self) -> SortOrderProperties
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 SortOrderProperties
impl Debug for SortOrderProperties
Source§impl Default for SortOrderProperties
impl Default for SortOrderProperties
Source§fn default() -> SortOrderProperties
fn default() -> SortOrderProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortOrderProperties
impl<'de> Deserialize<'de> for SortOrderProperties
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SortOrderProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SortOrderProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SortOrderProperties
impl PartialEq for SortOrderProperties
Source§impl Serialize for SortOrderProperties
impl Serialize for SortOrderProperties
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 SortOrderProperties
Auto Trait Implementations§
impl Freeze for SortOrderProperties
impl RefUnwindSafe for SortOrderProperties
impl Send for SortOrderProperties
impl Sync for SortOrderProperties
impl Unpin for SortOrderProperties
impl UnsafeUnpin for SortOrderProperties
impl UnwindSafe for SortOrderProperties
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