pub struct PropertyValues {
pub property_name: Option<String>,
pub property_value: Option<String>,
}Expand description
PropertyValues : This type defines the name-value pair associated with a property value.
Fields§
§property_name: Option<String>The name of the property.
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.
property_value: Option<String>The value for the property specified in the properyName field.
For example, if the propertyName is make, then the propertyValue will be the specific make of the vehicle, such as Toyota.
Implementations§
Source§impl PropertyValues
impl PropertyValues
Sourcepub fn new() -> PropertyValues
pub fn new() -> PropertyValues
This type defines the name-value pair associated with a property value.
Trait Implementations§
Source§impl Clone for PropertyValues
impl Clone for PropertyValues
Source§fn clone(&self) -> PropertyValues
fn clone(&self) -> PropertyValues
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 PropertyValues
impl Debug for PropertyValues
Source§impl Default for PropertyValues
impl Default for PropertyValues
Source§fn default() -> PropertyValues
fn default() -> PropertyValues
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PropertyValues
impl<'de> Deserialize<'de> for PropertyValues
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyValues, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PropertyValues, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PropertyValues
impl PartialEq for PropertyValues
Source§impl Serialize for PropertyValues
impl Serialize for PropertyValues
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 PropertyValues
Auto Trait Implementations§
impl Freeze for PropertyValues
impl RefUnwindSafe for PropertyValues
impl Send for PropertyValues
impl Sync for PropertyValues
impl Unpin for PropertyValues
impl UnsafeUnpin for PropertyValues
impl UnwindSafe for PropertyValues
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