Struct google_discovery1::RestDescriptionAuth
source · pub struct RestDescriptionAuth {
pub oauth2: Option<RestDescriptionAuthOauth2>,
}
Expand description
Authentication information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§oauth2: Option<RestDescriptionAuthOauth2>
OAuth 2.0 authentication information.
Trait Implementations§
source§impl Clone for RestDescriptionAuth
impl Clone for RestDescriptionAuth
source§fn clone(&self) -> RestDescriptionAuth
fn clone(&self) -> RestDescriptionAuth
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 RestDescriptionAuth
impl Debug for RestDescriptionAuth
source§impl Default for RestDescriptionAuth
impl Default for RestDescriptionAuth
source§fn default() -> RestDescriptionAuth
fn default() -> RestDescriptionAuth
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RestDescriptionAuth
impl<'de> Deserialize<'de> for RestDescriptionAuth
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
source§impl Serialize for RestDescriptionAuth
impl Serialize for RestDescriptionAuth
impl NestedType for RestDescriptionAuth
impl Part for RestDescriptionAuth
Auto Trait Implementations§
impl RefUnwindSafe for RestDescriptionAuth
impl Send for RestDescriptionAuth
impl Sync for RestDescriptionAuth
impl Unpin for RestDescriptionAuth
impl UnwindSafe for RestDescriptionAuth
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