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