pub struct SetInterfaceDescription {
pub interface: InterfaceName,
pub description: String,
}Expand description
Imperative operation to set an interface description.
Fields§
§interface: InterfaceNameInterface to modify.
description: StringNew description.
Implementations§
Source§impl SetInterfaceDescription
impl SetInterfaceDescription
Sourcepub fn new(interface: InterfaceName, description: impl Into<String>) -> Self
pub fn new(interface: InterfaceName, description: impl Into<String>) -> Self
Creates the operation for one interface and description.
Trait Implementations§
Source§impl Clone for SetInterfaceDescription
impl Clone for SetInterfaceDescription
Source§impl Debug for SetInterfaceDescription
impl Debug for SetInterfaceDescription
impl Eq for SetInterfaceDescription
Source§impl PartialEq for SetInterfaceDescription
impl PartialEq for SetInterfaceDescription
impl StructuralPartialEq for SetInterfaceDescription
Auto Trait Implementations§
impl Freeze for SetInterfaceDescription
impl RefUnwindSafe for SetInterfaceDescription
impl Send for SetInterfaceDescription
impl Sync for SetInterfaceDescription
impl Unpin for SetInterfaceDescription
impl UnsafeUnpin for SetInterfaceDescription
impl UnwindSafe for SetInterfaceDescription
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