pub struct UploadLineItemsRequest {
pub dry_run: Option<bool>,
pub format: Option<String>,
pub line_items: Option<String>,
}Expand description
Request to upload line items.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- uploadlineitems lineitems (request)
Fields§
§dry_run: Option<bool>Set to true to get upload status without actually persisting the line items.
format: Option<String>Format the line items are in. Default to CSV.
line_items: Option<String>Line items in CSV to upload. Refer to Entity Write File Format for more information on file format.
Trait Implementations§
Source§impl Clone for UploadLineItemsRequest
impl Clone for UploadLineItemsRequest
Source§fn clone(&self) -> UploadLineItemsRequest
fn clone(&self) -> UploadLineItemsRequest
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 UploadLineItemsRequest
impl Debug for UploadLineItemsRequest
Source§impl Default for UploadLineItemsRequest
impl Default for UploadLineItemsRequest
Source§fn default() -> UploadLineItemsRequest
fn default() -> UploadLineItemsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadLineItemsRequest
impl<'de> Deserialize<'de> for UploadLineItemsRequest
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 Serialize for UploadLineItemsRequest
impl Serialize for UploadLineItemsRequest
impl RequestValue for UploadLineItemsRequest
Auto Trait Implementations§
impl Freeze for UploadLineItemsRequest
impl RefUnwindSafe for UploadLineItemsRequest
impl Send for UploadLineItemsRequest
impl Sync for UploadLineItemsRequest
impl Unpin for UploadLineItemsRequest
impl UnwindSafe for UploadLineItemsRequest
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