pub struct CreateOAuth2ApplicationOptions {
pub confidential_client: Option<bool>,
pub name: Option<String>,
pub redirect_uris: Option<Vec<String>>,
}
Expand description
CreateOAuth2ApplicationOptions : CreateOAuth2ApplicationOptions holds options to create an oauth2 application
Fields§
§confidential_client: Option<bool>
§name: Option<String>
§redirect_uris: Option<Vec<String>>
Implementations§
Source§impl CreateOAuth2ApplicationOptions
impl CreateOAuth2ApplicationOptions
Sourcepub fn new() -> CreateOAuth2ApplicationOptions
pub fn new() -> CreateOAuth2ApplicationOptions
CreateOAuth2ApplicationOptions holds options to create an oauth2 application
Trait Implementations§
Source§impl Clone for CreateOAuth2ApplicationOptions
impl Clone for CreateOAuth2ApplicationOptions
Source§fn clone(&self) -> CreateOAuth2ApplicationOptions
fn clone(&self) -> CreateOAuth2ApplicationOptions
Returns a copy 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 Default for CreateOAuth2ApplicationOptions
impl Default for CreateOAuth2ApplicationOptions
Source§fn default() -> CreateOAuth2ApplicationOptions
fn default() -> CreateOAuth2ApplicationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateOAuth2ApplicationOptions
impl<'de> Deserialize<'de> for CreateOAuth2ApplicationOptions
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 CreateOAuth2ApplicationOptions
impl PartialEq for CreateOAuth2ApplicationOptions
Source§fn eq(&self, other: &CreateOAuth2ApplicationOptions) -> bool
fn eq(&self, other: &CreateOAuth2ApplicationOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateOAuth2ApplicationOptions
Auto Trait Implementations§
impl Freeze for CreateOAuth2ApplicationOptions
impl RefUnwindSafe for CreateOAuth2ApplicationOptions
impl Send for CreateOAuth2ApplicationOptions
impl Sync for CreateOAuth2ApplicationOptions
impl Unpin for CreateOAuth2ApplicationOptions
impl UnwindSafe for CreateOAuth2ApplicationOptions
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