pub struct ProjectDeployReservationDevice { /* private fields */ }Expand description
One effective resource-reservation device with nested provenance.
Implementations§
Source§impl ProjectDeployReservationDevice
impl ProjectDeployReservationDevice
Sourcepub const fn form(&self) -> ProjectDeployReservationDeviceForm
pub const fn form(&self) -> ProjectDeployReservationDeviceForm
Returns whether this effective item is a mapping or retained unmodeled sequence entry.
Sourcepub const fn capabilities(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployReservationDeviceCapability>>>>
pub const fn capabilities( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployReservationDeviceCapability>>>>
Returns the required effective capabilities collection when its form was valid.
Sourcepub const fn driver(&self) -> Option<&ProjectValue<String>>
pub const fn driver(&self) -> Option<&ProjectValue<String>>
Returns the optional effective raw device driver and its provenance.
Sourcepub const fn count(&self) -> Option<&ProjectValue<DeployReservationDeviceCount>>
pub const fn count(&self) -> Option<&ProjectValue<DeployReservationDeviceCount>>
Returns the optional raw effective device allocation count and its provenance.
Sourcepub const fn device_ids(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployReservationDeviceId>>>>
pub const fn device_ids( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployReservationDeviceId>>>>
Returns optional effective ordered device allocation IDs, including an explicit empty list.
Sourcepub const fn options(
&self,
) -> Option<&ProjectValue<ProjectDeployReservationDeviceOptions>>
pub const fn options( &self, ) -> Option<&ProjectValue<ProjectDeployReservationDeviceOptions>>
Returns optional effective schema-shaped device options with full provenance.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns extensions, unknown fields, and malformed members retained as evidence.
Trait Implementations§
Source§impl Clone for ProjectDeployReservationDevice
impl Clone for ProjectDeployReservationDevice
Source§fn clone(&self) -> ProjectDeployReservationDevice
fn clone(&self) -> ProjectDeployReservationDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ProjectDeployReservationDevice
impl StructuralPartialEq for ProjectDeployReservationDevice
Auto Trait Implementations§
impl Freeze for ProjectDeployReservationDevice
impl RefUnwindSafe for ProjectDeployReservationDevice
impl Send for ProjectDeployReservationDevice
impl Sync for ProjectDeployReservationDevice
impl Unpin for ProjectDeployReservationDevice
impl UnsafeUnpin for ProjectDeployReservationDevice
impl UnwindSafe for ProjectDeployReservationDevice
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