pub struct BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Scope,{
pub assertion: String,
pub scope: Option<ScopeParameter<SCOPE>>,
pub client_id: Option<String>,
/* private fields */
}
Fields§
§assertion: String
§scope: Option<ScopeParameter<SCOPE>>
§client_id: Option<String>
Implementations§
Source§impl<SCOPE> BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Scope,
impl<SCOPE> BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Scope,
pub fn new( assertion: String, scope: Option<ScopeParameter<SCOPE>>, client_id: Option<String>, ) -> BodyWithJwtAuthorizationGrant<SCOPE>
pub fn set_extra(&mut self, extra: Map<String, Value>)
pub fn extra(&self) -> Option<&Map<String, Value>>
pub fn try_from_t_with_string( body: &BodyWithJwtAuthorizationGrant<String>, ) -> Result<BodyWithJwtAuthorizationGrant<SCOPE>, ScopeFromStrError>
Trait Implementations§
Source§impl<SCOPE> Clone for BodyWithJwtAuthorizationGrant<SCOPE>
impl<SCOPE> Clone for BodyWithJwtAuthorizationGrant<SCOPE>
Source§fn clone(&self) -> BodyWithJwtAuthorizationGrant<SCOPE>
fn clone(&self) -> BodyWithJwtAuthorizationGrant<SCOPE>
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<SCOPE> Debug for BodyWithJwtAuthorizationGrant<SCOPE>
impl<SCOPE> Debug for BodyWithJwtAuthorizationGrant<SCOPE>
Source§impl<'de, SCOPE> Deserialize<'de> for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
impl<'de, SCOPE> Deserialize<'de> for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BodyWithJwtAuthorizationGrant<SCOPE>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BodyWithJwtAuthorizationGrant<SCOPE>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<SCOPE> Serialize for BodyWithJwtAuthorizationGrant<SCOPE>
impl<SCOPE> Serialize for BodyWithJwtAuthorizationGrant<SCOPE>
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
Auto Trait Implementations§
impl<SCOPE> Freeze for BodyWithJwtAuthorizationGrant<SCOPE>
impl<SCOPE> RefUnwindSafe for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: RefUnwindSafe,
impl<SCOPE> Send for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Send,
impl<SCOPE> Sync for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Sync,
impl<SCOPE> Unpin for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: Unpin,
impl<SCOPE> UnwindSafe for BodyWithJwtAuthorizationGrant<SCOPE>where
SCOPE: UnwindSafe,
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