[−][src]Struct graph_rs_sdk::oauth::IdToken
Implementations
impl IdToken
[src]
pub fn new(
id_token: &str,
code: &str,
state: &str,
session_state: &str
) -> IdToken
[src]
id_token: &str,
code: &str,
state: &str,
session_state: &str
) -> IdToken
pub fn id_token(&mut self, id_token: &str)
[src]
pub fn code(&mut self, code: &str)
[src]
pub fn state(&mut self, state: &str)
[src]
pub fn session_state(&mut self, session_state: &str)
[src]
pub fn get_id_token(&self) -> String
[src]
pub fn get_code(&self) -> Option<String>
[src]
pub fn get_state(&self) -> Option<String>
[src]
pub fn get_session_state(&self) -> Option<String>
[src]
Trait Implementations
impl AsFile for IdToken
[src]
type Error = FromAsError
pub fn as_file<P>(&self, path: P) -> Result<(), <IdToken as AsFile>::Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn as_file_pretty<P>(
&self,
path: P
) -> Result<(), <IdToken as AsFile>::Error> where
P: AsRef<Path>,
[src]
&self,
path: P
) -> Result<(), <IdToken as AsFile>::Error> where
P: AsRef<Path>,
impl Clone for IdToken
[src]
impl Debug for IdToken
[src]
impl Default for IdToken
[src]
impl<'de> Deserialize<'de> for IdToken
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IdToken, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<IdToken, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for IdToken
[src]
impl FromFile<IdToken> for IdToken
[src]
type Error = FromAsError
pub fn from_file<P>(
path: P
) -> Result<IdToken, <IdToken as FromFile<IdToken>>::Error> where
P: AsRef<Path>,
IdToken: for<'de> Deserialize<'de>,
[src]
path: P
) -> Result<IdToken, <IdToken as FromFile<IdToken>>::Error> where
P: AsRef<Path>,
IdToken: for<'de> Deserialize<'de>,
impl FromStr for IdToken
[src]
type Err = GraphFailure
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<IdToken, <IdToken as FromStr>::Err>
[src]
impl Hash for IdToken
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<IdToken> for IdToken
[src]
impl Serialize for IdToken
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for IdToken
[src]
impl StructuralPartialEq for IdToken
[src]
impl<'_> TryFrom<&'_ str> for IdToken
[src]
type Error = GraphFailure
The type returned in the event of a conversion error.
pub fn try_from(
value: &str
) -> Result<IdToken, <IdToken as TryFrom<&'_ str>>::Error>
[src]
value: &str
) -> Result<IdToken, <IdToken as TryFrom<&'_ str>>::Error>
impl TryFrom<String> for IdToken
[src]
Auto Trait Implementations
impl RefUnwindSafe for IdToken
[src]
impl Send for IdToken
[src]
impl Sync for IdToken
[src]
impl Unpin for IdToken
[src]
impl UnwindSafe for IdToken
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,