pub enum CopyValue {
Copy,
Skip,
Replace(Value),
}Expand description
What copy_spec_with does with one field offered to the value policy.
Variants§
Copy
Copy the source value unchanged.
Skip
Do not copy this field.
Replace(Value)
Copy this transformed value (path-remapped, …) in place of the source.
Auto Trait Implementations§
impl Freeze for CopyValue
impl RefUnwindSafe for CopyValue
impl Send for CopyValue
impl Sync for CopyValue
impl Unpin for CopyValue
impl UnsafeUnpin for CopyValue
impl UnwindSafe for CopyValue
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