pub struct NetworkDeviceFunction<B: Bmc> { /* private fields */ }Expand description
Network device function.
Provides functions to access network device function.
Implementations§
Source§impl<B: Bmc> NetworkDeviceFunction<B>
impl<B: Bmc> NetworkDeviceFunction<B>
Sourcepub fn raw(&self) -> Arc<NetworkDeviceFunctionSchema>
pub fn raw(&self) -> Arc<NetworkDeviceFunctionSchema>
Get the raw schema data for this network device function.
Sourcepub fn ethernet_permanent_mac_address(&self) -> Option<MacAddress<'_>>
pub fn ethernet_permanent_mac_address(&self) -> Option<MacAddress<'_>>
The permanent MAC address assigned to this function.
Trait Implementations§
Source§impl<B: Bmc> Resource for NetworkDeviceFunction<B>
impl<B: Bmc> Resource for NetworkDeviceFunction<B>
Source§fn resource_ref(&self) -> &ResourceSchema
fn resource_ref(&self) -> &ResourceSchema
Required function. Must be implemented for Redfish resources.
Source§fn id(&self) -> ResourceIdRef<'_>
fn id(&self) -> ResourceIdRef<'_>
Identifier of the resource.
Source§fn name(&self) -> ResourceNameRef<'_>
fn name(&self) -> ResourceNameRef<'_>
Name of the resource.
Source§fn description(&self) -> Option<ResourceDescriptionRef<'_>>
fn description(&self) -> Option<ResourceDescriptionRef<'_>>
Description of the resource.
Auto Trait Implementations§
impl<B> Freeze for NetworkDeviceFunction<B>
impl<B> RefUnwindSafe for NetworkDeviceFunction<B>where
B: RefUnwindSafe,
impl<B> Send for NetworkDeviceFunction<B>
impl<B> Sync for NetworkDeviceFunction<B>
impl<B> Unpin for NetworkDeviceFunction<B>where
B: Unpin,
impl<B> UnsafeUnpin for NetworkDeviceFunction<B>
impl<B> UnwindSafe for NetworkDeviceFunction<B>where
B: UnwindSafe,
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