Struct amazon_sp_authorization::models::get_authorization_code_response::GetAuthorizationCodeResponse
source · [−]pub struct GetAuthorizationCodeResponse {
pub payload: Option<Box<AuthorizationCode>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetAuthorizationCodeResponse : The response schema for the GetAuthorizationCode operation.
Fields
payload: Option<Box<AuthorizationCode>>errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations
sourceimpl GetAuthorizationCodeResponse
impl GetAuthorizationCodeResponse
sourcepub fn new() -> GetAuthorizationCodeResponse
pub fn new() -> GetAuthorizationCodeResponse
The response schema for the GetAuthorizationCode operation.
Trait Implementations
sourceimpl Clone for GetAuthorizationCodeResponse
impl Clone for GetAuthorizationCodeResponse
sourcefn clone(&self) -> GetAuthorizationCodeResponse
fn clone(&self) -> GetAuthorizationCodeResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GetAuthorizationCodeResponse
impl Debug for GetAuthorizationCodeResponse
sourceimpl Default for GetAuthorizationCodeResponse
impl Default for GetAuthorizationCodeResponse
sourcefn default() -> GetAuthorizationCodeResponse
fn default() -> GetAuthorizationCodeResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetAuthorizationCodeResponse
impl<'de> Deserialize<'de> for GetAuthorizationCodeResponse
sourcefn 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
sourceimpl PartialEq<GetAuthorizationCodeResponse> for GetAuthorizationCodeResponse
impl PartialEq<GetAuthorizationCodeResponse> for GetAuthorizationCodeResponse
sourcefn eq(&self, other: &GetAuthorizationCodeResponse) -> bool
fn eq(&self, other: &GetAuthorizationCodeResponse) -> bool
impl StructuralPartialEq for GetAuthorizationCodeResponse
Auto Trait Implementations
impl RefUnwindSafe for GetAuthorizationCodeResponse
impl Send for GetAuthorizationCodeResponse
impl Sync for GetAuthorizationCodeResponse
impl Unpin for GetAuthorizationCodeResponse
impl UnwindSafe for GetAuthorizationCodeResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more