pub struct Transfer {
pub id: Uuid,
pub _type: TransferType,
pub created_at: DateTime,
pub completed_at: Option<DateTime>,
pub canceled_at: Option<DateTime>,
pub processed_at: Option<DateTime>,
pub account_id: Uuid,
pub user_id: String,
pub user_nonce: Option<String>,
pub amount: f64,
pub currency: Option<String>,
pub details: TransferDetails,
}Fields§
§id: Uuid§_type: TransferType§created_at: DateTime§completed_at: Option<DateTime>§canceled_at: Option<DateTime>§processed_at: Option<DateTime>§account_id: Uuid§user_id: String§user_nonce: Option<String>§amount: f64§currency: Option<String>§details: TransferDetailsTrait Implementations§
Source§impl<'de> Deserialize<'de> for Transfer
impl<'de> Deserialize<'de> for Transfer
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 Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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