pub struct GetDestinationResponse {
pub payload: Option<Box<Destination>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetDestinationResponse : The response schema for the getDestination operation.
Fields§
§payload: Option<Box<Destination>>§errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl GetDestinationResponse
impl GetDestinationResponse
Sourcepub fn new() -> GetDestinationResponse
pub fn new() -> GetDestinationResponse
The response schema for the getDestination operation.
Trait Implementations§
Source§impl Clone for GetDestinationResponse
impl Clone for GetDestinationResponse
Source§fn clone(&self) -> GetDestinationResponse
fn clone(&self) -> GetDestinationResponse
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 GetDestinationResponse
impl Debug for GetDestinationResponse
Source§impl Default for GetDestinationResponse
impl Default for GetDestinationResponse
Source§fn default() -> GetDestinationResponse
fn default() -> GetDestinationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetDestinationResponse
impl<'de> Deserialize<'de> for GetDestinationResponse
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 GetDestinationResponse
impl PartialEq for GetDestinationResponse
Source§impl Serialize for GetDestinationResponse
impl Serialize for GetDestinationResponse
impl StructuralPartialEq for GetDestinationResponse
Auto Trait Implementations§
impl Freeze for GetDestinationResponse
impl RefUnwindSafe for GetDestinationResponse
impl Send for GetDestinationResponse
impl Sync for GetDestinationResponse
impl Unpin for GetDestinationResponse
impl UnwindSafe for GetDestinationResponse
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