pub struct GoalsResponse {
pub data: Vec<Goal>,
pub total: u32,
pub total_pages: u32,
}Expand description
Top-level envelope returned by GET /users/current/goals.
Fields§
§data: Vec<Goal>The list of goals.
total: u32Total number of goals.
total_pages: u32Total number of pages.
Trait Implementations§
Source§impl Clone for GoalsResponse
impl Clone for GoalsResponse
Source§fn clone(&self) -> GoalsResponse
fn clone(&self) -> GoalsResponse
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 GoalsResponse
impl Debug for GoalsResponse
Source§impl<'de> Deserialize<'de> for GoalsResponse
impl<'de> Deserialize<'de> for GoalsResponse
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
Auto Trait Implementations§
impl Freeze for GoalsResponse
impl RefUnwindSafe for GoalsResponse
impl Send for GoalsResponse
impl Sync for GoalsResponse
impl Unpin for GoalsResponse
impl UnsafeUnpin for GoalsResponse
impl UnwindSafe for GoalsResponse
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