pub struct Rename {
pub from: String,
pub to: String,
}Expand description
Rename a field: moves value from from to to.
Fields§
§from: String§to: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Rename
impl RefUnwindSafe for Rename
impl Send for Rename
impl Sync for Rename
impl Unpin for Rename
impl UnsafeUnpin for Rename
impl UnwindSafe for Rename
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