pub struct AccountingRef {
pub accounting_company: String,
pub accounting_ids: Option<Vec<String>>,
}Expand description
AccountingRef : reference to accounting data in case the accounting is not provided by the API provider
Fields§
§accounting_company: StringIdentifies a company. For rail, a RICS company code or compatible ERA company code are used. E.g.: ‘urn:uic:rics:1185:000011’
accounting_ids: Option<Vec<String>>ids of accounting data used to link the booking part with accounting data in the billing send by the accounting company
Implementations§
Source§impl AccountingRef
impl AccountingRef
Sourcepub fn new(accounting_company: String) -> AccountingRef
pub fn new(accounting_company: String) -> AccountingRef
reference to accounting data in case the accounting is not provided by the API provider
Trait Implementations§
Source§impl Clone for AccountingRef
impl Clone for AccountingRef
Source§fn clone(&self) -> AccountingRef
fn clone(&self) -> AccountingRef
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 AccountingRef
impl Debug for AccountingRef
Source§impl Default for AccountingRef
impl Default for AccountingRef
Source§fn default() -> AccountingRef
fn default() -> AccountingRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountingRef
impl<'de> Deserialize<'de> for AccountingRef
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 PartialEq for AccountingRef
impl PartialEq for AccountingRef
Source§impl Serialize for AccountingRef
impl Serialize for AccountingRef
impl StructuralPartialEq for AccountingRef
Auto Trait Implementations§
impl Freeze for AccountingRef
impl RefUnwindSafe for AccountingRef
impl Send for AccountingRef
impl Sync for AccountingRef
impl Unpin for AccountingRef
impl UnwindSafe for AccountingRef
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