Struct redmine_api::api::projects::UnarchiveProjectBuilder
source · pub struct UnarchiveProjectBuilder<'a> { /* private fields */ }
Expand description
Builder for UnarchiveProject
.
Implementations§
source§impl<'a> UnarchiveProjectBuilder<'a>
impl<'a> UnarchiveProjectBuilder<'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 unarchive
sourcepub fn build(
&self
) -> Result<UnarchiveProject<'a>, UnarchiveProjectBuilderError>
pub fn build( &self ) -> Result<UnarchiveProject<'a>, UnarchiveProjectBuilderError>
Trait Implementations§
source§impl<'a> Clone for UnarchiveProjectBuilder<'a>
impl<'a> Clone for UnarchiveProjectBuilder<'a>
source§fn clone(&self) -> UnarchiveProjectBuilder<'a>
fn clone(&self) -> UnarchiveProjectBuilder<'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 UnarchiveProjectBuilder<'a>
impl<'a> Send for UnarchiveProjectBuilder<'a>
impl<'a> Sync for UnarchiveProjectBuilder<'a>
impl<'a> Unpin for UnarchiveProjectBuilder<'a>
impl<'a> UnwindSafe for UnarchiveProjectBuilder<'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