pub struct DuplicateResult {
pub item: Item,
pub original_id: String,
}Expand description
Result of duplicating an item.
Fields§
§item: ItemThe newly created duplicate item
original_id: StringID of the original item that was duplicated
Trait Implementations§
Source§impl Clone for DuplicateResult
impl Clone for DuplicateResult
Source§fn clone(&self) -> DuplicateResult
fn clone(&self) -> DuplicateResult
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 moreAuto Trait Implementations§
impl Freeze for DuplicateResult
impl RefUnwindSafe for DuplicateResult
impl Send for DuplicateResult
impl Sync for DuplicateResult
impl Unpin for DuplicateResult
impl UnsafeUnpin for DuplicateResult
impl UnwindSafe for DuplicateResult
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