Struct oci_spec::runtime::LinuxInterfacePriorityBuilder
source · 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