Struct paystack::ResponseWithoutData
source · pub struct ResponseWithoutData {
pub status: bool,
pub message: String,
}
Expand description
Represents the JSON response of the Paystack API when there is no data property
Fields§
§status: bool
The status of the JSON response.
message: String
The message associated with the JSON response.
Trait Implementations§
source§impl Debug for ResponseWithoutData
impl Debug for ResponseWithoutData
source§impl<'de> Deserialize<'de> for ResponseWithoutData
impl<'de> Deserialize<'de> for ResponseWithoutData
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 ResponseWithoutData
impl Send for ResponseWithoutData
impl Sync for ResponseWithoutData
impl Unpin for ResponseWithoutData
impl UnwindSafe for ResponseWithoutData
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