pub struct SimpleOauthClientWithSecret {
pub id: OauthClientId,
pub key: Option<OauthClientKey>,
pub display_name: OauthClientDisplayName,
pub app_uri: Url,
pub callback_uri: Url,
pub owner: Option<UserIdRef>,
pub secret: PasswordHash,
}Fields§
§id: OauthClientId§key: Option<OauthClientKey>§display_name: OauthClientDisplayName§app_uri: Url§callback_uri: Url§owner: Option<UserIdRef>§secret: PasswordHashTrait Implementations§
Source§impl Clone for SimpleOauthClientWithSecret
impl Clone for SimpleOauthClientWithSecret
Source§fn clone(&self) -> SimpleOauthClientWithSecret
fn clone(&self) -> SimpleOauthClientWithSecret
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimpleOauthClientWithSecret
impl Debug for SimpleOauthClientWithSecret
impl Eq for SimpleOauthClientWithSecret
Source§impl Hash for SimpleOauthClientWithSecret
impl Hash for SimpleOauthClientWithSecret
Source§impl Ord for SimpleOauthClientWithSecret
impl Ord for SimpleOauthClientWithSecret
Source§fn cmp(&self, other: &SimpleOauthClientWithSecret) -> Ordering
fn cmp(&self, other: &SimpleOauthClientWithSecret) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for SimpleOauthClientWithSecret
impl PartialOrd for SimpleOauthClientWithSecret
impl StructuralPartialEq for SimpleOauthClientWithSecret
Auto Trait Implementations§
impl Freeze for SimpleOauthClientWithSecret
impl RefUnwindSafe for SimpleOauthClientWithSecret
impl Send for SimpleOauthClientWithSecret
impl Sync for SimpleOauthClientWithSecret
impl Unpin for SimpleOauthClientWithSecret
impl UnsafeUnpin for SimpleOauthClientWithSecret
impl UnwindSafe for SimpleOauthClientWithSecret
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