pub struct GoalUpdateRequest {
pub goal_request_base: GoalRequestBase,
pub status: Option<String>,
}Fields§
§goal_request_base: GoalRequestBase§status: Option<String>The current status of this goal. When the goal is open, its status can be green, yellow, and red to reflect “On Track”, “At Risk”, and “Off Track”, respectively. When the goal is closed, the value can be missed, achieved, partial, or dropped.
Note you can only write to this property if metric is set.
Trait Implementations§
Source§impl Clone for GoalUpdateRequest
impl Clone for GoalUpdateRequest
Source§fn clone(&self) -> GoalUpdateRequest
fn clone(&self) -> GoalUpdateRequest
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 GoalUpdateRequest
impl Debug for GoalUpdateRequest
Source§impl Default for GoalUpdateRequest
impl Default for GoalUpdateRequest
Source§fn default() -> GoalUpdateRequest
fn default() -> GoalUpdateRequest
Returns the “default value” for a type. Read more
Source§impl Deref for GoalUpdateRequest
impl Deref for GoalUpdateRequest
Source§impl DerefMut for GoalUpdateRequest
impl DerefMut for GoalUpdateRequest
Source§impl<'de> Deserialize<'de> for GoalUpdateRequest
impl<'de> Deserialize<'de> for GoalUpdateRequest
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 Display for GoalUpdateRequest
impl Display for GoalUpdateRequest
Auto Trait Implementations§
impl Freeze for GoalUpdateRequest
impl RefUnwindSafe for GoalUpdateRequest
impl Send for GoalUpdateRequest
impl Sync for GoalUpdateRequest
impl Unpin for GoalUpdateRequest
impl UnsafeUnpin for GoalUpdateRequest
impl UnwindSafe for GoalUpdateRequest
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