1 2 3 4 5 6 7 8 9 10 11
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct VerifyStepUpGrantResponse { #[serde(rename = "success")] pub success: bool, } impl VerifyStepUpGrantResponse { pub fn new(success: bool) -> Self { Self { success } } }