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