pub struct ServiceRoot<B: Bmc> {
pub root: Arc<ServiceRoot>,
/* private fields */
}Expand description
Represents ServiceRoot in the BMC model.
Fields§
§root: Arc<ServiceRoot>Content of the root.
Implementations§
Trait Implementations§
Source§impl<B: Clone + Bmc> Clone for ServiceRoot<B>
impl<B: Clone + Bmc> Clone for ServiceRoot<B>
Source§fn clone(&self) -> ServiceRoot<B>
fn clone(&self) -> ServiceRoot<B>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<B: Bmc> Resource for ServiceRoot<B>
impl<B: Bmc> Resource for ServiceRoot<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 ServiceRoot<B>
impl<B> RefUnwindSafe for ServiceRoot<B>where
B: RefUnwindSafe,
impl<B> Send for ServiceRoot<B>
impl<B> Sync for ServiceRoot<B>
impl<B> Unpin for ServiceRoot<B>
impl<B> UnwindSafe for ServiceRoot<B>where
B: RefUnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)