Struct fastly_api::models::token::Token
source · pub struct Token {
pub services: Option<Vec<String>>,
pub name: Option<String>,
pub scope: Option<Scope>,
}
Fields§
§services: Option<Vec<String>>
List of alphanumeric strings identifying services (optional). If no services are specified, the token will have access to all services on the account.
name: Option<String>
Name of the token.
scope: Option<Scope>
Space-delimited list of authorization scope.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more