pub struct UpdateGoalRequest {
pub account_guid: Option<String>,
pub amount: Option<f64>,
pub completed_at: Option<String>,
pub goal_type_name: Option<String>,
pub has_been_spent: Option<bool>,
pub is_complete: Option<bool>,
pub meta_type_name: Option<String>,
pub metadata: Option<String>,
pub name: Option<String>,
pub position: Option<i64>,
pub targeted_to_complete_at: Option<String>,
}Expand description
UpdateGoalRequest
JSON schema
{
"type": "object",
"properties": {
"account_guid": {
"description": "Unique identifier of the account for the goal.",
"examples": [
"ACT-4e431124-4a29-abf9-f059-ab232ac14dbf"
],
"type": "string"
},
"amount": {
"description": "Amount of the goal.",
"examples": [
4500.5
],
"type": "number"
},
"completed_at": {
"description": "Date and time the goal was completed.",
"examples": [
"2015-06-19T10:37:04-06:00"
],
"type": "string"
},
"goal_type_name": {
"description": "The goal type.",
"examples": [
"PAYOFF"
],
"type": "string"
},
"has_been_spent": {
"description": "Determines if the goal has been spent.",
"examples": [
false
],
"type": "boolean"
},
"is_complete": {
"description": "Determines if the goal is complete.",
"examples": [
false
],
"type": "boolean"
},
"meta_type_name": {
"description": "The category of the goal.",
"examples": [
"VACATION"
],
"type": "string"
},
"metadata": {
"description": "Additional information a partner can store on the
goal.",
"examples": [
"Additional information"
],
"type": "string"
},
"name": {
"description": "The name of the goal.",
"examples": [
"Save for Europe"
],
"type": "string"
},
"position": {
"description": "The priority of the goal in relation to multiple
goals.",
"examples": [
3
],
"type": "integer"
},
"targeted_to_complete_at": {
"description": "Date and time the goal is to complete. Intended for
users to set their own goal completion dates.",
"examples": [
"2026-12-08 00:00:00.000000"
],
"type": "string"
}
}
}Fields§
§account_guid: Option<String>Unique identifier of the account for the goal.
amount: Option<f64>§completed_at: Option<String>Date and time the goal was completed.
goal_type_name: Option<String>The goal type.
has_been_spent: Option<bool>Determines if the goal has been spent.
is_complete: Option<bool>Determines if the goal is complete.
meta_type_name: Option<String>The category of the goal.
metadata: Option<String>Additional information a partner can store on the goal.
name: Option<String>The name of the goal.
position: Option<i64>The priority of the goal in relation to multiple goals.
targeted_to_complete_at: Option<String>Date and time the goal is to complete. Intended for users to set their own goal completion dates.
Trait Implementations§
Source§impl Clone for UpdateGoalRequest
impl Clone for UpdateGoalRequest
Source§fn clone(&self) -> UpdateGoalRequest
fn clone(&self) -> UpdateGoalRequest
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 UpdateGoalRequest
impl Debug for UpdateGoalRequest
Source§impl Default for UpdateGoalRequest
impl Default for UpdateGoalRequest
Source§impl<'de> Deserialize<'de> for UpdateGoalRequest
impl<'de> Deserialize<'de> for UpdateGoalRequest
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<&UpdateGoalRequest> for UpdateGoalRequest
impl From<&UpdateGoalRequest> for UpdateGoalRequest
Source§fn from(value: &UpdateGoalRequest) -> Self
fn from(value: &UpdateGoalRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateGoalRequest
impl RefUnwindSafe for UpdateGoalRequest
impl Send for UpdateGoalRequest
impl Sync for UpdateGoalRequest
impl Unpin for UpdateGoalRequest
impl UnwindSafe for UpdateGoalRequest
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