pub struct PaymentTransaction {
pub id: Uuid,
pub license_id: Uuid,
pub provider: PaymentProvider,
pub provider_transaction_id: String,
pub amount: i64,
pub currency: String,
pub provider_tier: ProviderTier,
pub test_mode: bool,
pub status: PaymentStatus,
pub created_at: i64,
pub confirmed_at: Option<i64>,
}Fields§
§id: Uuid§license_id: Uuid§provider: PaymentProvider§provider_transaction_id: String§amount: i64§currency: String§provider_tier: ProviderTier§test_mode: bool§status: PaymentStatus§created_at: i64§confirmed_at: Option<i64>Trait Implementations§
Source§impl Clone for PaymentTransaction
impl Clone for PaymentTransaction
Source§fn clone(&self) -> PaymentTransaction
fn clone(&self) -> PaymentTransaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentTransaction
impl Debug for PaymentTransaction
Source§impl PartialEq for PaymentTransaction
impl PartialEq for PaymentTransaction
Source§fn eq(&self, other: &PaymentTransaction) -> bool
fn eq(&self, other: &PaymentTransaction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaymentTransaction
Auto Trait Implementations§
impl Freeze for PaymentTransaction
impl RefUnwindSafe for PaymentTransaction
impl Send for PaymentTransaction
impl Sync for PaymentTransaction
impl Unpin for PaymentTransaction
impl UnsafeUnpin for PaymentTransaction
impl UnwindSafe for PaymentTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more