Struct billecta::OrderAction
source · pub struct OrderAction {
pub action_public_id: Option<String>,
pub creditor_public_id: Uuid,
pub communication_language: LanguageType,
pub debtor: Option<OrderActionDebtor>,
pub billing_address: Option<OrderActionAddress>,
pub order_total_amount: Option<Amount>,
pub order_total_vat_amount: Option<Amount>,
pub external_reference: Option<String>,
pub order_number: Option<String>,
pub state: Option<OrderActionState>,
pub records: Vec<OrderActionRecord>,
}
Fields§
§action_public_id: Option<String>
§creditor_public_id: Uuid
§communication_language: LanguageType
§debtor: Option<OrderActionDebtor>
§billing_address: Option<OrderActionAddress>
§order_total_amount: Option<Amount>
§order_total_vat_amount: Option<Amount>
§external_reference: Option<String>
§order_number: Option<String>
§state: Option<OrderActionState>
§records: Vec<OrderActionRecord>
Implementations§
source§impl OrderAction
impl OrderAction
pub fn new( creditor_public_id: Uuid, communication_language: LanguageType, ) -> Self
Trait Implementations§
source§impl Clone for OrderAction
impl Clone for OrderAction
source§fn clone(&self) -> OrderAction
fn clone(&self) -> OrderAction
Returns a copy 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 OrderAction
impl Debug for OrderAction
source§impl<'de> Deserialize<'de> for OrderAction
impl<'de> Deserialize<'de> for OrderAction
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 OrderAction
impl RefUnwindSafe for OrderAction
impl Send for OrderAction
impl Sync for OrderAction
impl Unpin for OrderAction
impl UnwindSafe for OrderAction
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