pub struct UpdateOAuthAppRequest {
pub id: String,
pub name: String,
pub description: String,
pub icon_url: Option<String>,
pub callback_urls: Vec<String>,
pub homepage: String,
pub is_trusted: Option<bool>,
}
Fields§
§id: String
The id of the client application
name: String
The name of the client application
description: String
A short description of the application
icon_url: Option<String>
A URL to an icon to display with the application
callback_urls: Vec<String>
A list of callback URLs for the appliation
homepage: String
A link to the website of the application
is_trusted: Option<bool>
Set this to true
to skip asking users for permission. It will be set to false if value is not provided.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateOAuthAppRequest
impl Clone for UpdateOAuthAppRequest
Source§fn clone(&self) -> UpdateOAuthAppRequest
fn clone(&self) -> UpdateOAuthAppRequest
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 UpdateOAuthAppRequest
impl Debug for UpdateOAuthAppRequest
Source§impl Default for UpdateOAuthAppRequest
impl Default for UpdateOAuthAppRequest
Source§fn default() -> UpdateOAuthAppRequest
fn default() -> UpdateOAuthAppRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOAuthAppRequest
impl<'de> Deserialize<'de> for UpdateOAuthAppRequest
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 UpdateOAuthAppRequest
impl PartialEq for UpdateOAuthAppRequest
Source§impl Serialize for UpdateOAuthAppRequest
impl Serialize for UpdateOAuthAppRequest
impl StructuralPartialEq for UpdateOAuthAppRequest
Auto Trait Implementations§
impl Freeze for UpdateOAuthAppRequest
impl RefUnwindSafe for UpdateOAuthAppRequest
impl Send for UpdateOAuthAppRequest
impl Sync for UpdateOAuthAppRequest
impl Unpin for UpdateOAuthAppRequest
impl UnwindSafe for UpdateOAuthAppRequest
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