pub struct DeployGenericResource { /* private fields */ }Expand description
One schema-backed generic-resource reservation item.
Implementations§
Source§impl DeployGenericResource
impl DeployGenericResource
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns this item mapping span.
Sourcepub const fn form(&self) -> DeployGenericResourceForm
pub const fn form(&self) -> DeployGenericResourceForm
Returns whether the item was a mapping or an unmodeled sequence entry.
Sourcepub const fn discrete_resource_spec(
&self,
) -> Option<&DeployDiscreteResourceSpec>
pub const fn discrete_resource_spec( &self, ) -> Option<&DeployDiscreteResourceSpec>
Returns the optional schema-backed discrete resource specification.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown or malformed fields.
Trait Implementations§
Source§impl Clone for DeployGenericResource
impl Clone for DeployGenericResource
Source§fn clone(&self) -> DeployGenericResource
fn clone(&self) -> DeployGenericResource
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 moreSource§impl Debug for DeployGenericResource
impl Debug for DeployGenericResource
impl Eq for DeployGenericResource
Source§impl PartialEq for DeployGenericResource
impl PartialEq for DeployGenericResource
impl StructuralPartialEq for DeployGenericResource
Auto Trait Implementations§
impl Freeze for DeployGenericResource
impl RefUnwindSafe for DeployGenericResource
impl Send for DeployGenericResource
impl Sync for DeployGenericResource
impl Unpin for DeployGenericResource
impl UnsafeUnpin for DeployGenericResource
impl UnwindSafe for DeployGenericResource
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