pub enum RedirectUri {
Url(Url),
Oob,
OobAuto,
Other(String),
}
Variants§
Url(Url)
Oob
https://developers.google.com/identity/protocols/oauth2/native-app
OobAuto
https://developers.google.com/identity/protocols/oauth2/native-app
Other(String)
Implementations§
Source§impl RedirectUri
impl RedirectUri
Trait Implementations§
Source§impl Clone for RedirectUri
impl Clone for RedirectUri
Source§fn clone(&self) -> RedirectUri
fn clone(&self) -> RedirectUri
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedirectUri
impl Debug for RedirectUri
Source§impl<'de> Deserialize<'de> for RedirectUri
impl<'de> Deserialize<'de> for RedirectUri
Source§fn deserialize<D>(
deserializer: D,
) -> Result<RedirectUri, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<RedirectUri, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RedirectUri
impl Display for RedirectUri
Source§impl FromStr for RedirectUri
impl FromStr for RedirectUri
Source§impl PartialEq for RedirectUri
impl PartialEq for RedirectUri
Source§impl Serialize for RedirectUri
impl Serialize for RedirectUri
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<Url> for RedirectUri
impl TryFrom<Url> for RedirectUri
impl Eq for RedirectUri
impl StructuralPartialEq for RedirectUri
Auto Trait Implementations§
impl Freeze for RedirectUri
impl RefUnwindSafe for RedirectUri
impl Send for RedirectUri
impl Sync for RedirectUri
impl Unpin for RedirectUri
impl UnwindSafe for RedirectUri
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