Struct paystack::TransactionStatusResponse
source · pub struct TransactionStatusResponse {
pub status: bool,
pub message: String,
pub data: TransactionStatusData,
}
Expand description
This struct represents the transaction status response.
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: TransactionStatusData
This contains the results of your request. In this case, it is a single object.
Trait Implementations§
source§impl Clone for TransactionStatusResponse
impl Clone for TransactionStatusResponse
source§fn clone(&self) -> TransactionStatusResponse
fn clone(&self) -> TransactionStatusResponse
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 TransactionStatusResponse
impl Debug for TransactionStatusResponse
source§impl<'de> Deserialize<'de> for TransactionStatusResponse
impl<'de> Deserialize<'de> for TransactionStatusResponse
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 TransactionStatusResponse
impl Send for TransactionStatusResponse
impl Sync for TransactionStatusResponse
impl Unpin for TransactionStatusResponse
impl UnwindSafe for TransactionStatusResponse
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