Struct ScopeTokenRef
Source pub struct ScopeTokenRef();
Expand description
A borrowed reference to a ScopeToken
A scope token as defined in RFC6749, Section 3.3
This type maintains an invariant that ensures that a
value of this type cannot be constructed that contains
invalid data.
The borrowed form of this type is generated by appending
Ref to the end of the owned form: ScopeTokenRef.
Transparently reinterprets the string slice as a strongly-typed ScopeTokenRef if it conforms to ScopeToken
Transparently reinterprets the string slice as a strongly-typed ScopeTokenRef without validating
Transparently reinterprets the static string slice as a strongly-typed ScopeTokenRef if it conforms to ScopeToken
§Panics
This function will panic if the provided raw string is not valid.
Provides access to the underlying value as a string slice.
Converts this type into a shared reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value.
Read more
Immutably borrows from an owned value.
Read more
Formats the value using the given formatter.
Read more
Deserialize this value from the given Serde deserializer.
Read more
Deserialize this value from the given Serde deserializer.
Read more
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
This method returns an ordering between
self and
other values if one exists.
Read more
Tests less than (for
self and
other) and is used by the
< operator.
Read more
Tests less than or equal to (for
self and
other) and is used by the
<= operator.
Read more
Tests greater than (for
self and
other) and is used by the
>
operator.
Read more
Tests greater than or equal to (for
self and
other) and is used by
the
>= operator.
Read more
Serialize this value into the given Serde serializer.
Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Converts the given value to a
String.
Read more