pub struct CopyRequest {
pub items: CopyItems,
pub scope: CopyScope,
pub destination: SourceName,
pub match_by: Option<MatchBy>,
pub recreate: bool,
pub dry_run: bool,
}Expand description
A request to copy work into one configured destination.
Fields§
§items: CopyItemsThe qualified items to copy, in the order they were named.
scope: CopyScopeWhat those ids name, and what comes with them.
destination: SourceNameThe configured source to copy into — a source name, never a qualified id.
match_by: Option<MatchBy>How to re-establish a correspondence the two origin rules cannot find.
recreate: boolWhether an origin naming nothing at the destination falls through to the search rule instead of refusing.
dry_run: boolWhether to perform every read and no write.
Trait Implementations§
Source§impl Clone for CopyRequest
impl Clone for CopyRequest
Auto Trait Implementations§
impl Freeze for CopyRequest
impl RefUnwindSafe for CopyRequest
impl Send for CopyRequest
impl Sync for CopyRequest
impl Unpin for CopyRequest
impl UnsafeUnpin for CopyRequest
impl UnwindSafe for CopyRequest
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