xendit 0.0.2

Xendit Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;

#[derive(Deserialize)]
pub struct SimulateResponse {
    status: String,
    message: String,
}
impl SimulateResponse {
    pub fn get_status(&self) -> &str {
        &self.status
    }
    pub fn get_message(&self) -> &str {
        &self.message
    }
}