pub struct ProjectDuplicateRequest {
pub name: String,
pub team: Option<String>,
pub include: Option<Include>,
pub schedule_dates: Option<Box<ProjectDuplicateRequestScheduleDates>>,
}
Fields§
§name: String
The name of the new project.
team: Option<String>
Sets the team of the new project. If team is not defined, the new project will be in the same team as the the original project.
include: Option<Include>
The elements that will be duplicated to the new project. Tasks are always included.
schedule_dates: Option<Box<ProjectDuplicateRequestScheduleDates>>
Implementations§
Source§impl ProjectDuplicateRequest
impl ProjectDuplicateRequest
pub fn new(name: String) -> ProjectDuplicateRequest
Trait Implementations§
Source§impl Clone for ProjectDuplicateRequest
impl Clone for ProjectDuplicateRequest
Source§fn clone(&self) -> ProjectDuplicateRequest
fn clone(&self) -> ProjectDuplicateRequest
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 ProjectDuplicateRequest
impl Debug for ProjectDuplicateRequest
Source§impl<'de> Deserialize<'de> for ProjectDuplicateRequest
impl<'de> Deserialize<'de> for ProjectDuplicateRequest
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 PartialEq for ProjectDuplicateRequest
impl PartialEq for ProjectDuplicateRequest
Source§impl Serialize for ProjectDuplicateRequest
impl Serialize for ProjectDuplicateRequest
impl StructuralPartialEq for ProjectDuplicateRequest
Auto Trait Implementations§
impl Freeze for ProjectDuplicateRequest
impl RefUnwindSafe for ProjectDuplicateRequest
impl Send for ProjectDuplicateRequest
impl Sync for ProjectDuplicateRequest
impl Unpin for ProjectDuplicateRequest
impl UnwindSafe for ProjectDuplicateRequest
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