pub struct UpdateOAuthApplicationRequest {
pub name: Option<String>,
pub callback_url: Option<String>,
pub scopes: Option<String>,
}Fields§
§name: Option<String>The new name of the OAuth application
callback_url: Option<String>The new callback URL of the OAuth application
scopes: Option<String>Define the allowed scopes for the new OAuth applications that dictate the user payload of the OAuth user info endpoint. Available scopes are profile, email, public_metadata, private_metadata. Provide the requested scopes as a string, separated by spaces.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateOAuthApplicationRequest
impl Clone for UpdateOAuthApplicationRequest
Source§fn clone(&self) -> UpdateOAuthApplicationRequest
fn clone(&self) -> UpdateOAuthApplicationRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for UpdateOAuthApplicationRequest
impl<'de> Deserialize<'de> for UpdateOAuthApplicationRequest
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 UpdateOAuthApplicationRequest
impl PartialEq for UpdateOAuthApplicationRequest
Source§fn eq(&self, other: &UpdateOAuthApplicationRequest) -> bool
fn eq(&self, other: &UpdateOAuthApplicationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOAuthApplicationRequest
Auto Trait Implementations§
impl Freeze for UpdateOAuthApplicationRequest
impl RefUnwindSafe for UpdateOAuthApplicationRequest
impl Send for UpdateOAuthApplicationRequest
impl Sync for UpdateOAuthApplicationRequest
impl Unpin for UpdateOAuthApplicationRequest
impl UnwindSafe for UpdateOAuthApplicationRequest
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