Struct paystack::SendEventResponse
source · pub struct SendEventResponse {
pub status: bool,
pub message: String,
pub data: SendEventResponseData,
}
Expand description
This struct represents the response of sending an event to the terminal.
Fields§
§status: bool
This lets you know if your response was successful or not.
message: String
This is a summary of the response and its status.
data: SendEventResponseData
This contains the results of your request.
Trait Implementations§
source§impl Clone for SendEventResponse
impl Clone for SendEventResponse
source§fn clone(&self) -> SendEventResponse
fn clone(&self) -> SendEventResponse
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 SendEventResponse
impl Debug for SendEventResponse
source§impl<'de> Deserialize<'de> for SendEventResponse
impl<'de> Deserialize<'de> for SendEventResponse
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 SendEventResponse
impl Send for SendEventResponse
impl Sync for SendEventResponse
impl Unpin for SendEventResponse
impl UnwindSafe for SendEventResponse
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