Struct yup_oauth2::ConsoleApplicationSecret
source · pub struct ConsoleApplicationSecret {
pub web: Option<ApplicationSecret>,
pub installed: Option<ApplicationSecret>,
}
Expand description
A type to facilitate reading and writing the json secret file as returned by the google developer console
Fields§
§web: Option<ApplicationSecret>
web app secret
installed: Option<ApplicationSecret>
installed app secret
Trait Implementations§
source§impl Debug for ConsoleApplicationSecret
impl Debug for ConsoleApplicationSecret
source§impl Default for ConsoleApplicationSecret
impl Default for ConsoleApplicationSecret
source§fn default() -> ConsoleApplicationSecret
fn default() -> ConsoleApplicationSecret
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsoleApplicationSecret
impl<'de> Deserialize<'de> for ConsoleApplicationSecret
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
Auto Trait Implementations§
impl Freeze for ConsoleApplicationSecret
impl RefUnwindSafe for ConsoleApplicationSecret
impl Send for ConsoleApplicationSecret
impl Sync for ConsoleApplicationSecret
impl Unpin for ConsoleApplicationSecret
impl UnwindSafe for ConsoleApplicationSecret
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