Struct paystack::TransactionResponse
source · pub struct TransactionResponse {
pub status: bool,
pub message: String,
pub data: TransactionResponseData,
}Expand description
This struct mirrors the response of the Paystack transaction initalization response.
It contains the following properties:
{
"status": Boolean,
"message": String,
"data": TransactionResponseData
}
Fields§
§status: bool§message: String§data: TransactionResponseDataTrait Implementations§
source§impl Debug for TransactionResponse
impl Debug for TransactionResponse
source§impl<'de> Deserialize<'de> for TransactionResponse
impl<'de> Deserialize<'de> for TransactionResponse
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 TransactionResponse
impl Send for TransactionResponse
impl Sync for TransactionResponse
impl Unpin for TransactionResponse
impl UnwindSafe for TransactionResponse
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