pub struct InsightsResponseBody {
pub insights: Vec<InsightResponse>,
pub pagination: Option<PaginationResponse>,
}Expand description
InsightsResponseBody
JSON schema
{
"type": "object",
"properties": {
"insights": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InsightResponse"
}
},
"pagination": {
"$ref": "#/components/schemas/PaginationResponse"
}
}
}Fields§
§insights: Vec<InsightResponse>§pagination: Option<PaginationResponse>Trait Implementations§
Source§impl Clone for InsightsResponseBody
impl Clone for InsightsResponseBody
Source§fn clone(&self) -> InsightsResponseBody
fn clone(&self) -> InsightsResponseBody
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 InsightsResponseBody
impl Debug for InsightsResponseBody
Source§impl Default for InsightsResponseBody
impl Default for InsightsResponseBody
Source§impl<'de> Deserialize<'de> for InsightsResponseBody
impl<'de> Deserialize<'de> for InsightsResponseBody
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<&InsightsResponseBody> for InsightsResponseBody
impl From<&InsightsResponseBody> for InsightsResponseBody
Source§fn from(value: &InsightsResponseBody) -> Self
fn from(value: &InsightsResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsightsResponseBody
impl RefUnwindSafe for InsightsResponseBody
impl Send for InsightsResponseBody
impl Sync for InsightsResponseBody
impl Unpin for InsightsResponseBody
impl UnwindSafe for InsightsResponseBody
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