pub struct GoalData {
pub goal_completion_location: Option<String>,
pub goal_completions: Option<i64>,
pub goal_index: Option<i32>,
pub goal_name: Option<String>,
pub goal_previous_step1: Option<String>,
pub goal_previous_step2: Option<String>,
pub goal_previous_step3: Option<String>,
pub goal_value: Option<f64>,
}
Expand description
Represents all the details pertaining to a goal.
This type is not used in any activity, and only used as part of another schema.
Fields§
§goal_completion_location: Option<String>
URL of the page where this goal was completed.
goal_completions: Option<i64>
Total number of goal completions in this activity.
goal_index: Option<i32>
This identifies the goal as configured for the profile.
goal_name: Option<String>
Name of the goal.
goal_previous_step1: Option<String>
URL of the page one step prior to the goal completion.
goal_previous_step2: Option<String>
URL of the page two steps prior to the goal completion.
goal_previous_step3: Option<String>
URL of the page three steps prior to the goal completion.
goal_value: Option<f64>
Value in this goal.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GoalData
impl<'de> Deserialize<'de> for GoalData
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
impl Part for GoalData
Auto Trait Implementations§
impl Freeze for GoalData
impl RefUnwindSafe for GoalData
impl Send for GoalData
impl Sync for GoalData
impl Unpin for GoalData
impl UnwindSafe for GoalData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more