pub struct RenameParameterParams {
pub since: String,
pub removal: String,
pub old: String,
pub new: String,
}Expand description
Parameters for renaming a deprecated parameter.
Fields§
§since: StringThe version in which the parameter was renamed.
removal: StringThe version in which the old parameter will be removed.
old: StringThe old parameter name.
new: StringThe new parameter name.
Implementations§
Trait Implementations§
Source§impl Clone for RenameParameterParams
impl Clone for RenameParameterParams
Source§fn clone(&self) -> RenameParameterParams
fn clone(&self) -> RenameParameterParams
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 RenameParameterParams
impl RefUnwindSafe for RenameParameterParams
impl Send for RenameParameterParams
impl Sync for RenameParameterParams
impl Unpin for RenameParameterParams
impl UnwindSafe for RenameParameterParams
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