pub struct GoalAddSupportingRelationshipRequest {
pub contribution_weight: f64,
pub insert_after: Option<String>,
pub insert_before: Option<String>,
pub supporting_resource: String,
}Fields§
§contribution_weight: f64The weight that the supporting resource’s progress will contribute to the supported goal’s progress. This can only be 0 or 1.
insert_after: Option<String>An id of a subgoal of this parent goal. The new subgoal will be added after the one specified here. insert_before and insert_after parameters cannot both be specified. Currently only supported when adding a subgoal.
insert_before: Option<String>An id of a subgoal of this parent goal. The new subgoal will be added before the one specified here. insert_before and insert_after parameters cannot both be specified. Currently only supported when adding a subgoal.
supporting_resource: StringThe gid of the supporting resource to add to the parent goal. Must be the gid of a goal, project, task, or portfolio.
Trait Implementations§
Source§impl Clone for GoalAddSupportingRelationshipRequest
impl Clone for GoalAddSupportingRelationshipRequest
Source§fn clone(&self) -> GoalAddSupportingRelationshipRequest
fn clone(&self) -> GoalAddSupportingRelationshipRequest
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 Default for GoalAddSupportingRelationshipRequest
impl Default for GoalAddSupportingRelationshipRequest
Source§fn default() -> GoalAddSupportingRelationshipRequest
fn default() -> GoalAddSupportingRelationshipRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoalAddSupportingRelationshipRequest
impl<'de> Deserialize<'de> for GoalAddSupportingRelationshipRequest
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 GoalAddSupportingRelationshipRequest
impl RefUnwindSafe for GoalAddSupportingRelationshipRequest
impl Send for GoalAddSupportingRelationshipRequest
impl Sync for GoalAddSupportingRelationshipRequest
impl Unpin for GoalAddSupportingRelationshipRequest
impl UnsafeUnpin for GoalAddSupportingRelationshipRequest
impl UnwindSafe for GoalAddSupportingRelationshipRequest
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