pub struct ApplicationOAuthScope {
pub application_id: Option<Uuid>,
pub data: Option<HashMap<String, Value>>,
pub default_consent_detail: Option<String>,
pub default_consent_message: Option<String>,
pub description: Option<String>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub name: Option<String>,
pub required: Option<bool>,
}
Expand description
ApplicationOAuthScope : A custom OAuth scope for a specific application.
Fields§
§application_id: Option<Uuid>
§data: Option<HashMap<String, Value>>
§default_consent_detail: Option<String>
§default_consent_message: Option<String>
§description: Option<String>
§id: Option<Uuid>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
name: Option<String>
§required: Option<bool>
Implementations§
Source§impl ApplicationOAuthScope
impl ApplicationOAuthScope
Sourcepub fn new() -> ApplicationOAuthScope
pub fn new() -> ApplicationOAuthScope
A custom OAuth scope for a specific application.
Trait Implementations§
Source§impl Clone for ApplicationOAuthScope
impl Clone for ApplicationOAuthScope
Source§fn clone(&self) -> ApplicationOAuthScope
fn clone(&self) -> ApplicationOAuthScope
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 ApplicationOAuthScope
impl Debug for ApplicationOAuthScope
Source§impl Default for ApplicationOAuthScope
impl Default for ApplicationOAuthScope
Source§fn default() -> ApplicationOAuthScope
fn default() -> ApplicationOAuthScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationOAuthScope
impl<'de> Deserialize<'de> for ApplicationOAuthScope
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
Source§impl PartialEq for ApplicationOAuthScope
impl PartialEq for ApplicationOAuthScope
Source§impl Serialize for ApplicationOAuthScope
impl Serialize for ApplicationOAuthScope
impl StructuralPartialEq for ApplicationOAuthScope
Auto Trait Implementations§
impl Freeze for ApplicationOAuthScope
impl RefUnwindSafe for ApplicationOAuthScope
impl Send for ApplicationOAuthScope
impl Sync for ApplicationOAuthScope
impl Unpin for ApplicationOAuthScope
impl UnwindSafe for ApplicationOAuthScope
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