pub struct OAuthApplicationWithSecret {Show 14 fields
pub object: Object,
pub id: String,
pub instance_id: String,
pub name: String,
pub client_id: String,
pub public: bool,
pub scopes: String,
pub callback_url: String,
pub authorize_url: String,
pub token_fetch_url: String,
pub user_info_url: String,
pub created_at: i64,
pub updated_at: i64,
pub client_secret: Option<String>,
}Fields§
§object: Object§id: String§instance_id: String§name: String§client_id: String§public: bool§scopes: String§callback_url: String§token_fetch_url: String§user_info_url: String§created_at: i64Unix timestamp of creation.
updated_at: i64Unix timestamp of last update.
client_secret: Option<String>Empty if public client.
Implementations§
Trait Implementations§
Source§impl Clone for OAuthApplicationWithSecret
impl Clone for OAuthApplicationWithSecret
Source§fn clone(&self) -> OAuthApplicationWithSecret
fn clone(&self) -> OAuthApplicationWithSecret
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 OAuthApplicationWithSecret
impl Debug for OAuthApplicationWithSecret
Source§impl<'de> Deserialize<'de> for OAuthApplicationWithSecret
impl<'de> Deserialize<'de> for OAuthApplicationWithSecret
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
impl StructuralPartialEq for OAuthApplicationWithSecret
Auto Trait Implementations§
impl Freeze for OAuthApplicationWithSecret
impl RefUnwindSafe for OAuthApplicationWithSecret
impl Send for OAuthApplicationWithSecret
impl Sync for OAuthApplicationWithSecret
impl Unpin for OAuthApplicationWithSecret
impl UnwindSafe for OAuthApplicationWithSecret
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