pub struct OrdersCustomBatchRequestEntrySetLineItemMetadata {
pub annotations: Option<Vec<OrderMerchantProvidedAnnotation>>,
pub line_item_id: Option<String>,
pub product_id: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§annotations: Option<Vec<OrderMerchantProvidedAnnotation>>no description provided
line_item_id: Option<String>The ID of the line item to set metadata. Either lineItemId or productId is required.
product_id: Option<String>The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.
Trait Implementations§
Source§impl Clone for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl Clone for OrdersCustomBatchRequestEntrySetLineItemMetadata
Source§fn clone(&self) -> OrdersCustomBatchRequestEntrySetLineItemMetadata
fn clone(&self) -> OrdersCustomBatchRequestEntrySetLineItemMetadata
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 Default for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl Default for OrdersCustomBatchRequestEntrySetLineItemMetadata
Source§fn default() -> OrdersCustomBatchRequestEntrySetLineItemMetadata
fn default() -> OrdersCustomBatchRequestEntrySetLineItemMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntrySetLineItemMetadata
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
impl Part for OrdersCustomBatchRequestEntrySetLineItemMetadata
Auto Trait Implementations§
impl Freeze for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl RefUnwindSafe for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl Send for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl Sync for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl Unpin for OrdersCustomBatchRequestEntrySetLineItemMetadata
impl UnwindSafe for OrdersCustomBatchRequestEntrySetLineItemMetadata
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