Struct amazon_sp_notifications::models::get_subscription_by_id_response::GetSubscriptionByIdResponse
source · [−]pub struct GetSubscriptionByIdResponse {
pub payload: Option<Box<Subscription>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetSubscriptionByIdResponse : The response schema for the getSubscriptionById operation.
Fields
payload: Option<Box<Subscription>>errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations
sourceimpl GetSubscriptionByIdResponse
impl GetSubscriptionByIdResponse
sourcepub fn new() -> GetSubscriptionByIdResponse
pub fn new() -> GetSubscriptionByIdResponse
The response schema for the getSubscriptionById operation.
Trait Implementations
sourceimpl Clone for GetSubscriptionByIdResponse
impl Clone for GetSubscriptionByIdResponse
sourcefn clone(&self) -> GetSubscriptionByIdResponse
fn clone(&self) -> GetSubscriptionByIdResponse
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 GetSubscriptionByIdResponse
impl Debug for GetSubscriptionByIdResponse
sourceimpl Default for GetSubscriptionByIdResponse
impl Default for GetSubscriptionByIdResponse
sourcefn default() -> GetSubscriptionByIdResponse
fn default() -> GetSubscriptionByIdResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetSubscriptionByIdResponse
impl<'de> Deserialize<'de> for GetSubscriptionByIdResponse
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<GetSubscriptionByIdResponse> for GetSubscriptionByIdResponse
impl PartialEq<GetSubscriptionByIdResponse> for GetSubscriptionByIdResponse
sourcefn eq(&self, other: &GetSubscriptionByIdResponse) -> bool
fn eq(&self, other: &GetSubscriptionByIdResponse) -> bool
impl StructuralPartialEq for GetSubscriptionByIdResponse
Auto Trait Implementations
impl RefUnwindSafe for GetSubscriptionByIdResponse
impl Send for GetSubscriptionByIdResponse
impl Sync for GetSubscriptionByIdResponse
impl Unpin for GetSubscriptionByIdResponse
impl UnwindSafe for GetSubscriptionByIdResponse
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