pub struct RefundSpecification {
pub fulfillment_id: String,
pub booking_part_ids: Option<Vec<String>>,
pub passenger_ids: Option<Vec<String>>,
}Fields§
§fulfillment_id: Stringid of the fulfillment where some part(s) should be removed
booking_part_ids: Option<Vec<String>>ids of booking parts to be removed from the fulfillment
passenger_ids: Option<Vec<String>>ids of passengers to be removed from the fulfillment
Implementations§
Source§impl RefundSpecification
impl RefundSpecification
pub fn new(fulfillment_id: String) -> RefundSpecification
Trait Implementations§
Source§impl Clone for RefundSpecification
impl Clone for RefundSpecification
Source§fn clone(&self) -> RefundSpecification
fn clone(&self) -> RefundSpecification
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 RefundSpecification
impl Debug for RefundSpecification
Source§impl Default for RefundSpecification
impl Default for RefundSpecification
Source§fn default() -> RefundSpecification
fn default() -> RefundSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefundSpecification
impl<'de> Deserialize<'de> for RefundSpecification
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 RefundSpecification
impl PartialEq for RefundSpecification
Source§impl Serialize for RefundSpecification
impl Serialize for RefundSpecification
impl StructuralPartialEq for RefundSpecification
Auto Trait Implementations§
impl Freeze for RefundSpecification
impl RefUnwindSafe for RefundSpecification
impl Send for RefundSpecification
impl Sync for RefundSpecification
impl Unpin for RefundSpecification
impl UnwindSafe for RefundSpecification
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