pub struct LinuxInterfacePriorityBuilder { /* private fields */ }
Expand description
Builder for LinuxInterfacePriority
.
Implementations§
Source§impl LinuxInterfacePriorityBuilder
impl LinuxInterfacePriorityBuilder
Sourcepub fn name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn name<VALUE: Into<String>>(self, value: VALUE) -> Self
Name is the name of the network interface.
Sourcepub fn build(self) -> Result<LinuxInterfacePriority, OciSpecError>
pub fn build(self) -> Result<LinuxInterfacePriority, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinuxInterfacePriorityBuilder
impl RefUnwindSafe for LinuxInterfacePriorityBuilder
impl Send for LinuxInterfacePriorityBuilder
impl Sync for LinuxInterfacePriorityBuilder
impl Unpin for LinuxInterfacePriorityBuilder
impl UnwindSafe for LinuxInterfacePriorityBuilder
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