pub trait AuthToken: Headers + Clone {
// Required method
fn scopes(&self) -> &ScopeSet;
}
Expand description
Represents a authorization token of some type that can be sent as a header to a twitch endpoint.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.