Struct paystack::TransactionResponseData
source · pub struct TransactionResponseData {
pub authorization_url: String,
pub access_code: String,
pub reference: String,
}
Expand description
This struct represents the data of the transaction response.
Fields§
Generated URL to authorize the transaction.
access_code: String
Access code of the transaction.
reference: String
Reference of the transaction.
Trait Implementations§
source§impl Clone for TransactionResponseData
impl Clone for TransactionResponseData
source§fn clone(&self) -> TransactionResponseData
fn clone(&self) -> TransactionResponseData
Returns a copy 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 TransactionResponseData
impl Debug for TransactionResponseData
source§impl<'de> Deserialize<'de> for TransactionResponseData
impl<'de> Deserialize<'de> for TransactionResponseData
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 RefUnwindSafe for TransactionResponseData
impl Send for TransactionResponseData
impl Sync for TransactionResponseData
impl Unpin for TransactionResponseData
impl UnwindSafe for TransactionResponseData
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