Struct paystack::TransactionResponse
source · pub struct TransactionResponse {
pub status: bool,
pub message: String,
pub data: TransactionResponseData,
}
Expand description
This struct represents the response of the Paystack transaction initialization.
Fields§
§status: bool
This lets you know if your request was successful or not.
message: String
This is a summary of the response and its status.
data: TransactionResponseData
This contains the results of your request.
Trait Implementations§
source§impl Clone for TransactionResponse
impl Clone for TransactionResponse
source§fn clone(&self) -> TransactionResponse
fn clone(&self) -> TransactionResponse
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 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