pub struct BayNameChange {
pub target: DeviceUid,
pub port: u16,
pub name: String,
}Expand description
Asks a device to rename one of its bays.
Fields§
§target: DeviceUidThe device to act on.
port: u16The bay to rename.
name: StringThe new name.
Trait Implementations§
Source§impl Clone for BayNameChange
impl Clone for BayNameChange
Source§fn clone(&self) -> BayNameChange
fn clone(&self) -> BayNameChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BayNameChange
impl Debug for BayNameChange
Source§impl Default for BayNameChange
impl Default for BayNameChange
Source§fn default() -> BayNameChange
fn default() -> BayNameChange
Returns the “default value” for a type. Read more
impl Eq for BayNameChange
Source§impl PartialEq for BayNameChange
impl PartialEq for BayNameChange
impl StructuralPartialEq for BayNameChange
Auto Trait Implementations§
impl Freeze for BayNameChange
impl RefUnwindSafe for BayNameChange
impl Send for BayNameChange
impl Sync for BayNameChange
impl Unpin for BayNameChange
impl UnsafeUnpin for BayNameChange
impl UnwindSafe for BayNameChange
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