use serde::{Serialize, Deserialize};
///SandboxPublicTokenCreateResponse defines the response schema for `/sandbox/public_token/create`
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct SandboxPublicTokenCreateResponse {
///A public token that can be exchanged for an access token using `/item/public_token/exchange`
pub public_token: String,
///A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
pub request_id: String,
}
impl std::fmt::Display for SandboxPublicTokenCreateResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
write!(f, "{}", serde_json::to_string(self).unwrap())
}
}