pub struct GoalAttributes {
pub amount_cents: i32,
pub completed_percentage: i32,
pub created_at: DateTime<Utc>,
pub description: String,
pub reached_at: DateTime<Utc>,
pub title: String,
}Expand description
Goal attributes.
Fields§
§amount_cents: i32Amount (cents).
completed_percentage: i32Completed percentage.
created_at: DateTime<Utc>Created at.
description: StringDescription.
reached_at: DateTime<Utc>Reached at.
title: StringTitle.
Trait Implementations§
Source§impl Clone for GoalAttributes
impl Clone for GoalAttributes
Source§fn clone(&self) -> GoalAttributes
fn clone(&self) -> GoalAttributes
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 GoalAttributes
impl Debug for GoalAttributes
Source§impl Default for GoalAttributes
impl Default for GoalAttributes
Source§impl<'de> Deserialize<'de> for GoalAttributes
impl<'de> Deserialize<'de> for GoalAttributes
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 GoalAttributes
impl RefUnwindSafe for GoalAttributes
impl Send for GoalAttributes
impl Sync for GoalAttributes
impl Unpin for GoalAttributes
impl UnsafeUnpin for GoalAttributes
impl UnwindSafe for GoalAttributes
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