Struct etwin_core::oauth::OauthClient
source · pub struct OauthClient {
pub id: OauthClientId,
pub key: Option<OauthClientKey>,
pub display_name: OauthClientDisplayName,
pub app_uri: Url,
pub callback_uri: Url,
pub owner: Option<ShortUser>,
}
Fields§
§id: OauthClientId
§key: Option<OauthClientKey>
§display_name: OauthClientDisplayName
§app_uri: Url
§callback_uri: Url
§owner: Option<ShortUser>
Trait Implementations§
source§impl Clone for OauthClient
impl Clone for OauthClient
source§fn clone(&self) -> OauthClient
fn clone(&self) -> OauthClient
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 Debug for OauthClient
impl Debug for OauthClient
source§impl Hash for OauthClient
impl Hash for OauthClient
source§impl Ord for OauthClient
impl Ord for OauthClient
source§fn cmp(&self, other: &OauthClient) -> Ordering
fn cmp(&self, other: &OauthClient) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OauthClient> for OauthClient
impl PartialEq<OauthClient> for OauthClient
source§fn eq(&self, other: &OauthClient) -> bool
fn eq(&self, other: &OauthClient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OauthClient> for OauthClient
impl PartialOrd<OauthClient> for OauthClient
source§fn partial_cmp(&self, other: &OauthClient) -> Option<Ordering>
fn partial_cmp(&self, other: &OauthClient) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more