pub struct AppsDeleteAuthorizationRequest {
pub access_token: String,
}
Fields§
§access_token: String
The OAuth access token used to authenticate to the GitHub API.
Implementations§
Source§impl AppsDeleteAuthorizationRequest
impl AppsDeleteAuthorizationRequest
pub fn new(access_token: String) -> AppsDeleteAuthorizationRequest
Trait Implementations§
Source§impl Clone for AppsDeleteAuthorizationRequest
impl Clone for AppsDeleteAuthorizationRequest
Source§fn clone(&self) -> AppsDeleteAuthorizationRequest
fn clone(&self) -> AppsDeleteAuthorizationRequest
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 Default for AppsDeleteAuthorizationRequest
impl Default for AppsDeleteAuthorizationRequest
Source§fn default() -> AppsDeleteAuthorizationRequest
fn default() -> AppsDeleteAuthorizationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppsDeleteAuthorizationRequest
impl<'de> Deserialize<'de> for AppsDeleteAuthorizationRequest
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 PartialEq for AppsDeleteAuthorizationRequest
impl PartialEq for AppsDeleteAuthorizationRequest
Source§fn eq(&self, other: &AppsDeleteAuthorizationRequest) -> bool
fn eq(&self, other: &AppsDeleteAuthorizationRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AppsDeleteAuthorizationRequest
Auto Trait Implementations§
impl Freeze for AppsDeleteAuthorizationRequest
impl RefUnwindSafe for AppsDeleteAuthorizationRequest
impl Send for AppsDeleteAuthorizationRequest
impl Sync for AppsDeleteAuthorizationRequest
impl Unpin for AppsDeleteAuthorizationRequest
impl UnwindSafe for AppsDeleteAuthorizationRequest
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