pub struct ResponseConfigDto {
pub items_path: ConfigValue<String>,
pub content_type: Option<ContentTypeOverrideDto>,
pub mappings: Vec<ElementMappingConfigDto>,
}Expand description
Response parsing configuration DTO.
Fields§
§items_path: ConfigValue<String>JSONPath expression to locate the array of items in the response.
content_type: Option<ContentTypeOverrideDto>Content type override.
mappings: Vec<ElementMappingConfigDto>Element mapping configurations.
Trait Implementations§
Source§impl Clone for ResponseConfigDto
impl Clone for ResponseConfigDto
Source§fn clone(&self) -> ResponseConfigDto
fn clone(&self) -> ResponseConfigDto
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 ResponseConfigDto
impl Debug for ResponseConfigDto
Source§impl<'de> Deserialize<'de> for ResponseConfigDto
impl<'de> Deserialize<'de> for ResponseConfigDto
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 ResponseConfigDto
impl PartialEq for ResponseConfigDto
Source§fn eq(&self, other: &ResponseConfigDto) -> bool
fn eq(&self, other: &ResponseConfigDto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResponseConfigDto
impl Serialize for ResponseConfigDto
impl StructuralPartialEq for ResponseConfigDto
Auto Trait Implementations§
impl Freeze for ResponseConfigDto
impl RefUnwindSafe for ResponseConfigDto
impl Send for ResponseConfigDto
impl Sync for ResponseConfigDto
impl Unpin for ResponseConfigDto
impl UnsafeUnpin for ResponseConfigDto
impl UnwindSafe for ResponseConfigDto
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