Struct oxide_auth::code_grant::Scope [] [src]

pub struct Scope { /* fields omitted */ }

Scope of a bearer token, a set of scope-tokens encoded with separation by spaces

Methods

impl Scope
[src]

[src]

Determines if this scope has enough privileges to access some resource requiring the scope on the right side. This operation is equivalent to comparision via <=.

Trait Implementations

impl PartialEq for Scope
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Scope
[src]

impl Clone for Scope
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl FromStr for Scope
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Display for Scope
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialOrd for Scope
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more