pub struct Reimbursement {
pub id: String,
pub request: Box<ReimbursementRequest>,
pub status: BackOfficeStatus,
pub missing_information: Option<Option<Vec<String>>>,
pub decision: Option<Box<ReimbursementDecision>>,
pub _links: Option<Vec<Link>>,
}Expand description
Reimbursement : Customers who have bought a ticket which allows reimbursement and which have not traveled or traveled partially only can claim to be reimbursed. The customer must prove that he has not or only partially used the ticket. A partial use might be a only a part of the trip was traveled or only some of the travelers were traveling or a combination of both.
Fields§
§id: String§request: Box<ReimbursementRequest>§status: BackOfficeStatus§missing_information: Option<Option<Vec<String>>>§decision: Option<Box<ReimbursementDecision>>§_links: Option<Vec<Link>>Java Property Name: ‘links’
Implementations§
Source§impl Reimbursement
impl Reimbursement
Sourcepub fn new(
id: String,
request: ReimbursementRequest,
status: BackOfficeStatus,
) -> Reimbursement
pub fn new( id: String, request: ReimbursementRequest, status: BackOfficeStatus, ) -> Reimbursement
Customers who have bought a ticket which allows reimbursement and which have not traveled or traveled partially only can claim to be reimbursed. The customer must prove that he has not or only partially used the ticket. A partial use might be a only a part of the trip was traveled or only some of the travelers were traveling or a combination of both.
Trait Implementations§
Source§impl Clone for Reimbursement
impl Clone for Reimbursement
Source§fn clone(&self) -> Reimbursement
fn clone(&self) -> Reimbursement
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 Reimbursement
impl Debug for Reimbursement
Source§impl Default for Reimbursement
impl Default for Reimbursement
Source§fn default() -> Reimbursement
fn default() -> Reimbursement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Reimbursement
impl<'de> Deserialize<'de> for Reimbursement
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 Reimbursement
impl PartialEq for Reimbursement
Source§impl Serialize for Reimbursement
impl Serialize for Reimbursement
impl StructuralPartialEq for Reimbursement
Auto Trait Implementations§
impl Freeze for Reimbursement
impl RefUnwindSafe for Reimbursement
impl Send for Reimbursement
impl Sync for Reimbursement
impl Unpin for Reimbursement
impl UnsafeUnpin for Reimbursement
impl UnwindSafe for Reimbursement
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