pub struct OAuthApp {
pub id: Option<String>,
pub client_secret: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub icon_url: Option<String>,
pub callback_urls: Option<Vec<String>>,
pub homepage: Option<String>,
pub is_trusted: Option<bool>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
}
Fields§
§id: Option<String>
The client id of the application
client_secret: Option<String>
The client secret of the application
name: Option<String>
The name of the client application
description: Option<String>
A short description of the application
icon_url: Option<String>
A URL to an icon to display with the application
callback_urls: Option<Vec<String>>
A list of callback URLs for the appliation
homepage: Option<String>
A link to the website of the application
is_trusted: Option<bool>
Set this to true
to skip asking users for permission
create_at: Option<i64>
The time of registration for the application
update_at: Option<i64>
The last time of update for the application
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuthApp
impl<'de> Deserialize<'de> for OAuthApp
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
impl StructuralPartialEq for OAuthApp
Auto Trait Implementations§
impl Freeze for OAuthApp
impl RefUnwindSafe for OAuthApp
impl Send for OAuthApp
impl Sync for OAuthApp
impl Unpin for OAuthApp
impl UnwindSafe for OAuthApp
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