use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ShardStoreException {
#[serde(rename = "reason")]
pub reason: String,
#[serde(rename = "type")]
pub r#type: String,
}
impl ShardStoreException {
pub fn new(reason: String, r#type: String) -> ShardStoreException {
ShardStoreException { reason, r#type }
}
}