pub struct GetMessagingActionResponse {
pub _links: Option<Box<GetMessagingActionResponseLinks>>,
pub _embedded: Option<Box<GetMessagingActionResponseEmbedded>>,
pub payload: Option<Box<MessagingAction>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetMessagingActionResponse : Describes a messaging action that can be taken for an order. Provides a JSON Hypertext Application Language (HAL) link to the JSON schema document that describes the expected input.
Fields§
§_links: Option<Box<GetMessagingActionResponseLinks>>§_embedded: Option<Box<GetMessagingActionResponseEmbedded>>§payload: Option<Box<MessagingAction>>§errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl GetMessagingActionResponse
impl GetMessagingActionResponse
Sourcepub fn new() -> GetMessagingActionResponse
pub fn new() -> GetMessagingActionResponse
Describes a messaging action that can be taken for an order. Provides a JSON Hypertext Application Language (HAL) link to the JSON schema document that describes the expected input.
Trait Implementations§
Source§impl Clone for GetMessagingActionResponse
impl Clone for GetMessagingActionResponse
Source§fn clone(&self) -> GetMessagingActionResponse
fn clone(&self) -> GetMessagingActionResponse
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 GetMessagingActionResponse
impl Debug for GetMessagingActionResponse
Source§impl Default for GetMessagingActionResponse
impl Default for GetMessagingActionResponse
Source§fn default() -> GetMessagingActionResponse
fn default() -> GetMessagingActionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetMessagingActionResponse
impl<'de> Deserialize<'de> for GetMessagingActionResponse
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 GetMessagingActionResponse
Auto Trait Implementations§
impl Freeze for GetMessagingActionResponse
impl RefUnwindSafe for GetMessagingActionResponse
impl Send for GetMessagingActionResponse
impl Sync for GetMessagingActionResponse
impl Unpin for GetMessagingActionResponse
impl UnwindSafe for GetMessagingActionResponse
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