Struct openidconnect::RedirectUrl [−][src]
pub struct RedirectUrl(_, _);
Expand description
URL of the client’s redirection endpoint.
Implementations
Create a new RedirectUrl
from a String
to wrap a URL.
Create a new RedirectUrl
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<RedirectUrl, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<RedirectUrl, <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 RedirectUrl
impl Send for RedirectUrl
impl Sync for RedirectUrl
impl Unpin for RedirectUrl
impl UnwindSafe for RedirectUrl
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