pub struct UpdateProductFieldResponse200 {
pub name: Option<String>,
pub options: Option<Vec<Value>>,
}Fields§
§name: Option<String>The name of the field
options: Option<Vec<Value>>When field_type is either set or enum, possible options on update must be supplied as an array of objects each containing id and label, for example: [{"id":1, "label":"red"},{"id":2, "label":"blue"},{"id":3, "label":"lilac"}]
Implementations§
Trait Implementations§
Source§impl Clone for UpdateProductFieldResponse200
impl Clone for UpdateProductFieldResponse200
Source§fn clone(&self) -> UpdateProductFieldResponse200
fn clone(&self) -> UpdateProductFieldResponse200
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<'de> Deserialize<'de> for UpdateProductFieldResponse200
impl<'de> Deserialize<'de> for UpdateProductFieldResponse200
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 UpdateProductFieldResponse200
impl PartialEq for UpdateProductFieldResponse200
Source§fn eq(&self, other: &UpdateProductFieldResponse200) -> bool
fn eq(&self, other: &UpdateProductFieldResponse200) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateProductFieldResponse200
Auto Trait Implementations§
impl Freeze for UpdateProductFieldResponse200
impl RefUnwindSafe for UpdateProductFieldResponse200
impl Send for UpdateProductFieldResponse200
impl Sync for UpdateProductFieldResponse200
impl Unpin for UpdateProductFieldResponse200
impl UnwindSafe for UpdateProductFieldResponse200
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