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§
Source§impl GetDestinationsResponse
impl GetDestinationsResponse
Sourcepub fn new() -> GetDestinationsResponse
pub fn new() -> GetDestinationsResponse
The response schema for the getDestinations operation.
Trait Implementations§
Source§impl Clone for GetDestinationsResponse
impl Clone for GetDestinationsResponse
Source§fn clone(&self) -> GetDestinationsResponse
fn clone(&self) -> GetDestinationsResponse
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 Debug for GetDestinationsResponse
impl Debug for GetDestinationsResponse
Source§impl Default for GetDestinationsResponse
impl Default for GetDestinationsResponse
Source§fn default() -> GetDestinationsResponse
fn default() -> GetDestinationsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetDestinationsResponse
impl<'de> Deserialize<'de> for GetDestinationsResponse
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 GetDestinationsResponse
impl PartialEq for GetDestinationsResponse
Source§impl Serialize for GetDestinationsResponse
impl Serialize for GetDestinationsResponse
impl StructuralPartialEq for GetDestinationsResponse
Auto Trait Implementations§
impl Freeze for GetDestinationsResponse
impl RefUnwindSafe for GetDestinationsResponse
impl Send for GetDestinationsResponse
impl Sync for GetDestinationsResponse
impl Unpin for GetDestinationsResponse
impl UnwindSafe for GetDestinationsResponse
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