Struct redmine_api::api::projects::ArchiveProjectBuilder
source · pub struct ArchiveProjectBuilder<'a> { /* private fields */ }
Expand description
Builder for ArchiveProject
.
Implementations§
source§impl<'a> ArchiveProjectBuilder<'a>
impl<'a> ArchiveProjectBuilder<'a>
sourcepub fn project_id_or_name<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn project_id_or_name<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE ) -> &mut Self
the project id or name as it appears in the URL of the project to archive
sourcepub fn build(&self) -> Result<ArchiveProject<'a>, ArchiveProjectBuilderError>
pub fn build(&self) -> Result<ArchiveProject<'a>, ArchiveProjectBuilderError>
Trait Implementations§
source§impl<'a> Clone for ArchiveProjectBuilder<'a>
impl<'a> Clone for ArchiveProjectBuilder<'a>
source§fn clone(&self) -> ArchiveProjectBuilder<'a>
fn clone(&self) -> ArchiveProjectBuilder<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for ArchiveProjectBuilder<'a>
impl<'a> Send for ArchiveProjectBuilder<'a>
impl<'a> Sync for ArchiveProjectBuilder<'a>
impl<'a> Unpin for ArchiveProjectBuilder<'a>
impl<'a> UnwindSafe for ArchiveProjectBuilder<'a>
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