pub struct HttpRouteHttpDirectResponse {
pub bytes_body: Option<Vec<u8>>,
pub status: Option<i32>,
pub string_body: Option<String>,
}Expand description
Static HTTP response object to be returned.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bytes_body: Option<Vec<u8>>Optional. Response body as bytes. Maximum body size is 4096B.
status: Option<i32>Required. Status to return as part of HTTP Response. Must be a positive integer.
string_body: Option<String>Optional. Response body as a string. Maximum body length is 1024 characters.
Trait Implementations§
Source§impl Clone for HttpRouteHttpDirectResponse
impl Clone for HttpRouteHttpDirectResponse
Source§fn clone(&self) -> HttpRouteHttpDirectResponse
fn clone(&self) -> HttpRouteHttpDirectResponse
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 HttpRouteHttpDirectResponse
impl Debug for HttpRouteHttpDirectResponse
Source§impl Default for HttpRouteHttpDirectResponse
impl Default for HttpRouteHttpDirectResponse
Source§fn default() -> HttpRouteHttpDirectResponse
fn default() -> HttpRouteHttpDirectResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpRouteHttpDirectResponse
impl<'de> Deserialize<'de> for HttpRouteHttpDirectResponse
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 Part for HttpRouteHttpDirectResponse
Auto Trait Implementations§
impl Freeze for HttpRouteHttpDirectResponse
impl RefUnwindSafe for HttpRouteHttpDirectResponse
impl Send for HttpRouteHttpDirectResponse
impl Sync for HttpRouteHttpDirectResponse
impl Unpin for HttpRouteHttpDirectResponse
impl UnwindSafe for HttpRouteHttpDirectResponse
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