pub struct UpdatedFields {
pub price: Option<String>,
pub quantity: Option<String>,
}Expand description
UpdatedFields
JSON schema
{
"type": "object",
"properties": {
"price": {
"description": "New price (if changed)",
"examples": [
"35500.00"
],
"type": [
"string",
"null"
]
},
"quantity": {
"description": "New quantity (if changed)",
"examples": [
"0.7"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§price: Option<String>New price (if changed)
quantity: Option<String>New quantity (if changed)
Trait Implementations§
Source§impl Clone for UpdatedFields
impl Clone for UpdatedFields
Source§fn clone(&self) -> UpdatedFields
fn clone(&self) -> UpdatedFields
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 UpdatedFields
impl Debug for UpdatedFields
Source§impl Default for UpdatedFields
impl Default for UpdatedFields
Source§impl<'de> Deserialize<'de> for UpdatedFields
impl<'de> Deserialize<'de> for UpdatedFields
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
Auto Trait Implementations§
impl Freeze for UpdatedFields
impl RefUnwindSafe for UpdatedFields
impl Send for UpdatedFields
impl Sync for UpdatedFields
impl Unpin for UpdatedFields
impl UnsafeUnpin for UpdatedFields
impl UnwindSafe for UpdatedFields
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