pub struct UploadOptions<'a> {
pub folder: &'a str,
pub amount: Option<f64>,
pub category: Option<&'a str>,
pub payment_method: Option<&'a str>,
pub project: Option<&'a str>,
pub remarks: Option<&'a str>,
pub currency: &'a str,
}Expand description
Options for uploading a document with invoice metadata.
Fields§
§folder: &'a str§amount: Option<f64>§category: Option<&'a str>§payment_method: Option<&'a str>§project: Option<&'a str>§remarks: Option<&'a str>§currency: &'a strAuto Trait Implementations§
impl<'a> Freeze for UploadOptions<'a>
impl<'a> RefUnwindSafe for UploadOptions<'a>
impl<'a> Send for UploadOptions<'a>
impl<'a> Sync for UploadOptions<'a>
impl<'a> Unpin for UploadOptions<'a>
impl<'a> UnsafeUnpin for UploadOptions<'a>
impl<'a> UnwindSafe for UploadOptions<'a>
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