pub struct UpdateBill {
pub due_date: Option<DateTime<Utc>>,
pub payment_terms: Option<String>,
pub reference_number: Option<String>,
pub memo: Option<String>,
}Expand description
Input for updating a bill.
Fields§
§due_date: Option<DateTime<Utc>>§payment_terms: Option<String>§reference_number: Option<String>§memo: Option<String>Trait Implementations§
Source§impl Clone for UpdateBill
impl Clone for UpdateBill
Source§fn clone(&self) -> UpdateBill
fn clone(&self) -> UpdateBill
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 UpdateBill
impl Debug for UpdateBill
Source§impl Default for UpdateBill
impl Default for UpdateBill
Source§fn default() -> UpdateBill
fn default() -> UpdateBill
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateBill
impl<'de> Deserialize<'de> for UpdateBill
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBill, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBill, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateBill
impl Serialize for UpdateBill
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateBill
impl RefUnwindSafe for UpdateBill
impl Send for UpdateBill
impl Sync for UpdateBill
impl Unpin for UpdateBill
impl UnsafeUnpin for UpdateBill
impl UnwindSafe for UpdateBill
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