Struct podman_rest_client::models::LinuxInterfacePriority
source · pub struct LinuxInterfacePriority {
pub name: Option<String>,
pub priority: Option<i32>,
}
Expand description
LinuxInterfacePriority : LinuxInterfacePriority for network interfaces
Fields§
§name: Option<String>
Name is the name of the network interface
priority: Option<i32>
Priority for the interface
Implementations§
source§impl LinuxInterfacePriority
impl LinuxInterfacePriority
sourcepub fn new() -> LinuxInterfacePriority
pub fn new() -> LinuxInterfacePriority
LinuxInterfacePriority for network interfaces
Trait Implementations§
source§impl Clone for LinuxInterfacePriority
impl Clone for LinuxInterfacePriority
source§fn clone(&self) -> LinuxInterfacePriority
fn clone(&self) -> LinuxInterfacePriority
Returns a copy 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 moresource§impl Debug for LinuxInterfacePriority
impl Debug for LinuxInterfacePriority
source§impl Default for LinuxInterfacePriority
impl Default for LinuxInterfacePriority
source§fn default() -> LinuxInterfacePriority
fn default() -> LinuxInterfacePriority
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxInterfacePriority
impl<'de> Deserialize<'de> for LinuxInterfacePriority
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxInterfacePriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxInterfacePriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LinuxInterfacePriority
impl PartialEq for LinuxInterfacePriority
source§fn eq(&self, other: &LinuxInterfacePriority) -> bool
fn eq(&self, other: &LinuxInterfacePriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxInterfacePriority
impl Serialize for LinuxInterfacePriority
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LinuxInterfacePriority
Auto Trait Implementations§
impl Freeze for LinuxInterfacePriority
impl RefUnwindSafe for LinuxInterfacePriority
impl Send for LinuxInterfacePriority
impl Sync for LinuxInterfacePriority
impl Unpin for LinuxInterfacePriority
impl UnwindSafe for LinuxInterfacePriority
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)