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