pub struct ResponseHandling {
pub max_inline_bytes: i64,
pub storage_upload_request: PresignedRequest,
pub submit_response_url: String,
}Expand description
Response handling configuration for deployments
JSON schema
{
"description": "Response handling configuration for deployments",
"type": "object",
"required": [
"maxInlineBytes",
"storageUploadRequest",
"submitResponseUrl"
],
"properties": {
"maxInlineBytes": {
"description": "Maximum response body size that can be submitted inline",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"storageUploadRequest": {
"$ref": "#/components/schemas/PresignedRequest"
},
"submitResponseUrl": {
"description": "URL where deployments submit responses",
"type": "string"
}
}
}Fields§
§max_inline_bytes: i64Maximum response body size that can be submitted inline
storage_upload_request: PresignedRequest§submit_response_url: StringURL where deployments submit responses
Implementations§
Source§impl ResponseHandling
impl ResponseHandling
pub fn builder() -> ResponseHandling
Trait Implementations§
Source§impl Clone for ResponseHandling
impl Clone for ResponseHandling
Source§fn clone(&self) -> ResponseHandling
fn clone(&self) -> ResponseHandling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseHandling
impl Debug for ResponseHandling
Source§impl<'de> Deserialize<'de> for ResponseHandling
impl<'de> Deserialize<'de> for ResponseHandling
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 From<&ResponseHandling> for ResponseHandling
impl From<&ResponseHandling> for ResponseHandling
Source§fn from(value: &ResponseHandling) -> Self
fn from(value: &ResponseHandling) -> Self
Converts to this type from the input type.
Source§impl From<ResponseHandling> for ResponseHandling
impl From<ResponseHandling> for ResponseHandling
Source§fn from(value: ResponseHandling) -> Self
fn from(value: ResponseHandling) -> Self
Converts to this type from the input type.
Source§impl Serialize for ResponseHandling
impl Serialize for ResponseHandling
Source§impl TryFrom<ResponseHandling> for ResponseHandling
impl TryFrom<ResponseHandling> for ResponseHandling
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ResponseHandling) -> Result<Self, ConversionError>
fn try_from(value: ResponseHandling) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ResponseHandling
impl RefUnwindSafe for ResponseHandling
impl Send for ResponseHandling
impl Sync for ResponseHandling
impl Unpin for ResponseHandling
impl UnsafeUnpin for ResponseHandling
impl UnwindSafe for ResponseHandling
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