Struct asana::models::project_duplicate_request_schedule_dates::ProjectDuplicateRequestScheduleDates
source · [−]pub struct ProjectDuplicateRequestScheduleDates {
pub should_skip_weekends: bool,
pub due_on: Option<String>,
pub start_on: Option<String>,
}
Expand description
ProjectDuplicateRequestScheduleDates : A dictionary of options to auto-shift dates. task_dates
must be included to use this option. Requires either start_on
or due_on
, but not both.
Fields
should_skip_weekends: bool
Determines if the auto-shifted dates should skip weekends.
due_on: Option<String>
Sets the last due date in the duplicated project to the given date. The rest of the due dates will be offset by the same amount as the due dates in the original project.
start_on: Option<String>
Sets the first start date in the duplicated project to the given date. The rest of the start dates will be offset by the same amount as the start dates in the original project.
Implementations
sourceimpl ProjectDuplicateRequestScheduleDates
impl ProjectDuplicateRequestScheduleDates
sourcepub fn new(should_skip_weekends: bool) -> ProjectDuplicateRequestScheduleDates
pub fn new(should_skip_weekends: bool) -> ProjectDuplicateRequestScheduleDates
A dictionary of options to auto-shift dates. task_dates
must be included to use this option. Requires either start_on
or due_on
, but not both.
Trait Implementations
sourceimpl Clone for ProjectDuplicateRequestScheduleDates
impl Clone for ProjectDuplicateRequestScheduleDates
sourcefn clone(&self) -> ProjectDuplicateRequestScheduleDates
fn clone(&self) -> ProjectDuplicateRequestScheduleDates
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for ProjectDuplicateRequestScheduleDates
impl<'de> Deserialize<'de> for ProjectDuplicateRequestScheduleDates
sourcefn 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
sourceimpl PartialEq<ProjectDuplicateRequestScheduleDates> for ProjectDuplicateRequestScheduleDates
impl PartialEq<ProjectDuplicateRequestScheduleDates> for ProjectDuplicateRequestScheduleDates
sourcefn eq(&self, other: &ProjectDuplicateRequestScheduleDates) -> bool
fn eq(&self, other: &ProjectDuplicateRequestScheduleDates) -> bool
impl StructuralPartialEq for ProjectDuplicateRequestScheduleDates
Auto Trait Implementations
impl RefUnwindSafe for ProjectDuplicateRequestScheduleDates
impl Send for ProjectDuplicateRequestScheduleDates
impl Sync for ProjectDuplicateRequestScheduleDates
impl Unpin for ProjectDuplicateRequestScheduleDates
impl UnwindSafe for ProjectDuplicateRequestScheduleDates
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more