pub struct OrderDetails {Show 16 fields
pub id: String,
pub via: AccessType,
pub status: OrderStatus,
pub created_at: String,
pub updated_at: Option<String>,
pub receipt: Option<TransferReceipt>,
pub general_fees: Option<Vec<Fee>>,
pub execution_steps: Vec<ExecutionStep>,
pub execution_response_details: ExecutionResponseDetails,
pub settlement: Settlement,
pub participants_identification: Option<ParticipantsIdentification>,
pub payment_instructions: Option<Vec<PaymentInstructions>>,
pub created_by: String,
pub customer_internal_reference_id: Option<String>,
pub note: Option<String>,
pub expires_at: Option<String>,
}Fields§
§id: String§via: AccessType§status: OrderStatus§created_at: String§updated_at: Option<String>§receipt: Option<TransferReceipt>§general_fees: Option<Vec<Fee>>§execution_steps: Vec<ExecutionStep>§execution_response_details: ExecutionResponseDetails§settlement: Settlement§participants_identification: Option<ParticipantsIdentification>§payment_instructions: Option<Vec<PaymentInstructions>>Payment instructions for the order, the client can use one of these to pay the order.
created_by: StringThe ID of the user who created the order
customer_internal_reference_id: Option<String>Internal reference ID for the customer
note: Option<String>Optional note for the Order
expires_at: Option<String>Implementations§
Source§impl OrderDetails
impl OrderDetails
pub fn new( id: String, via: AccessType, status: OrderStatus, created_at: String, execution_steps: Vec<ExecutionStep>, execution_response_details: ExecutionResponseDetails, settlement: Settlement, created_by: String, ) -> OrderDetails
Trait Implementations§
Source§impl Clone for OrderDetails
impl Clone for OrderDetails
Source§fn clone(&self) -> OrderDetails
fn clone(&self) -> OrderDetails
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 OrderDetails
impl Debug for OrderDetails
Source§impl Default for OrderDetails
impl Default for OrderDetails
Source§fn default() -> OrderDetails
fn default() -> OrderDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderDetails
impl<'de> Deserialize<'de> for OrderDetails
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 OrderDetails
impl PartialEq for OrderDetails
Source§impl Serialize for OrderDetails
impl Serialize for OrderDetails
impl StructuralPartialEq for OrderDetails
Auto Trait Implementations§
impl Freeze for OrderDetails
impl RefUnwindSafe for OrderDetails
impl Send for OrderDetails
impl Sync for OrderDetails
impl Unpin for OrderDetails
impl UnwindSafe for OrderDetails
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