pub struct ProductSearchResponse {
pub products: Vec<Product>,
pub problems: Option<Vec<Problem>>,
pub _links: Option<Vec<Link>>,
}Expand description
ProductSearchResponse : Result of a product search
Fields§
§products: Vec<Product>§problems: Option<Vec<Problem>>§_links: Option<Vec<Link>>Java Property Name: ‘links’
Implementations§
Source§impl ProductSearchResponse
impl ProductSearchResponse
Sourcepub fn new(products: Vec<Product>) -> ProductSearchResponse
pub fn new(products: Vec<Product>) -> ProductSearchResponse
Result of a product search
Trait Implementations§
Source§impl Clone for ProductSearchResponse
impl Clone for ProductSearchResponse
Source§fn clone(&self) -> ProductSearchResponse
fn clone(&self) -> ProductSearchResponse
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 ProductSearchResponse
impl Debug for ProductSearchResponse
Source§impl Default for ProductSearchResponse
impl Default for ProductSearchResponse
Source§fn default() -> ProductSearchResponse
fn default() -> ProductSearchResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductSearchResponse
impl<'de> Deserialize<'de> for ProductSearchResponse
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 ProductSearchResponse
impl PartialEq for ProductSearchResponse
Source§impl Serialize for ProductSearchResponse
impl Serialize for ProductSearchResponse
impl StructuralPartialEq for ProductSearchResponse
Auto Trait Implementations§
impl Freeze for ProductSearchResponse
impl RefUnwindSafe for ProductSearchResponse
impl Send for ProductSearchResponse
impl Sync for ProductSearchResponse
impl Unpin for ProductSearchResponse
impl UnsafeUnpin for ProductSearchResponse
impl UnwindSafe for ProductSearchResponse
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