pub struct AuthScopes {
pub required: Vec<String>,
pub granted: Option<Vec<String>>,
pub missing: Vec<String>,
}Expand description
Scope inspection payload for spotify-cli auth scopes.
Fields§
§required: Vec<String>Full set of scopes requested by the CLI.
granted: Option<Vec<String>>Scopes granted by Spotify for the current token.
missing: Vec<String>Required scopes missing from the granted set.
Trait Implementations§
Source§impl Clone for AuthScopes
impl Clone for AuthScopes
Source§fn clone(&self) -> AuthScopes
fn clone(&self) -> AuthScopes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthScopes
impl RefUnwindSafe for AuthScopes
impl Send for AuthScopes
impl Sync for AuthScopes
impl Unpin for AuthScopes
impl UnwindSafe for AuthScopes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more