afinsp-rs 0.1.1

AFINSP Billing SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// this file is @generated
use serde::{Deserialize, Serialize};

/// Token introspection request
#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
pub struct IntrospectionRequest {
    /// The token to introspect
    pub token: String,
}

impl IntrospectionRequest {
    pub fn new(token: String) -> Self {
        Self { token }
    }
}