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