Struct wasm_oidc_plugin::responses::Callback
source · pub struct Callback {
pub code: String,
pub state: String,
}
Expand description
Struct that defines how the callback looks like to serialize it better with serde
Fields§
§code: String
The code that is returned from the authorization endpoint
state: String
The state that is returned from the authorization endpoint
Trait Implementations§
source§impl<'de> Deserialize<'de> for Callback
impl<'de> Deserialize<'de> for Callback
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Callback
impl RefUnwindSafe for Callback
impl Send for Callback
impl Sync for Callback
impl Unpin for Callback
impl UnwindSafe for Callback
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