pub struct UpdateOAuthClientParams {
pub client_name: Option<String>,
pub client_uri: Option<String>,
pub logo_uri: Option<String>,
pub redirect_uris: Option<Vec<String>>,
pub grant_types: Option<Vec<OAuthClientGrantType>>,
}Expand description
Parameters for updating an OAuth client (admin).
Fields§
§client_name: Option<String>§client_uri: Option<String>§logo_uri: Option<String>§redirect_uris: Option<Vec<String>>§grant_types: Option<Vec<OAuthClientGrantType>>Implementations§
Source§impl UpdateOAuthClientParams
impl UpdateOAuthClientParams
Sourcepub fn client_name(self, name: &str) -> Self
pub fn client_name(self, name: &str) -> Self
Set the client name.
Sourcepub fn client_uri(self, uri: &str) -> Self
pub fn client_uri(self, uri: &str) -> Self
Set the client URI.
Sourcepub fn redirect_uris(self, uris: Vec<String>) -> Self
pub fn redirect_uris(self, uris: Vec<String>) -> Self
Set the redirect URIs.
Sourcepub fn grant_types(self, types: Vec<OAuthClientGrantType>) -> Self
pub fn grant_types(self, types: Vec<OAuthClientGrantType>) -> Self
Set the grant types.
Trait Implementations§
Source§impl Clone for UpdateOAuthClientParams
impl Clone for UpdateOAuthClientParams
Source§fn clone(&self) -> UpdateOAuthClientParams
fn clone(&self) -> UpdateOAuthClientParams
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 Debug for UpdateOAuthClientParams
impl Debug for UpdateOAuthClientParams
Source§impl Default for UpdateOAuthClientParams
impl Default for UpdateOAuthClientParams
Source§fn default() -> UpdateOAuthClientParams
fn default() -> UpdateOAuthClientParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateOAuthClientParams
impl RefUnwindSafe for UpdateOAuthClientParams
impl Send for UpdateOAuthClientParams
impl Sync for UpdateOAuthClientParams
impl Unpin for UpdateOAuthClientParams
impl UnsafeUnpin for UpdateOAuthClientParams
impl UnwindSafe for UpdateOAuthClientParams
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