Struct openidconnect::IntrospectionUrl [−][src]
pub struct IntrospectionUrl(_, _);
Expand description
URL of the client’s RFC 7662 OAuth 2.0 Token Introspection endpoint.
Implementations
Create a new IntrospectionUrl
from a String
to wrap a URL.
Create a new IntrospectionUrl
from a Url
to wrap a URL.
Methods from Deref<Target = String>
Extracts a string slice containing the entire String
.
Examples
Basic usage:
let s = String::from("foo"); assert_eq!("foo", s.as_str());
Returns this String
’s capacity, in bytes.
Examples
Basic usage:
let s = String::with_capacity(10); assert!(s.capacity() >= 10);
Returns the length of this String
, in bytes, not char
s or
graphemes. In other words, it may not be what a human considers the
length of the string.
Examples
Basic usage:
let a = String::from("foo"); assert_eq!(a.len(), 3); let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
Trait Implementations
pub fn deserialize<D>(
deserializer: D
) -> Result<IntrospectionUrl, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<IntrospectionUrl, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
pub fn serialize<SE>(
&self,
serializer: SE
) -> Result<<SE as Serializer>::Ok, <SE as Serializer>::Error> where
SE: Serializer,
pub fn serialize<SE>(
&self,
serializer: SE
) -> Result<<SE as Serializer>::Ok, <SE as Serializer>::Error> where
SE: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IntrospectionUrl
impl Send for IntrospectionUrl
impl Sync for IntrospectionUrl
impl Unpin for IntrospectionUrl
impl UnwindSafe for IntrospectionUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V