pub struct DeployDiscreteResourceSpec { /* private fields */ }Expand description
Schema-backed discrete generic-resource specification.
Implementations§
Source§impl DeployDiscreteResourceSpec
impl DeployDiscreteResourceSpec
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete discrete-resource-spec mapping span.
Sourcepub const fn value(&self) -> Option<&Located<DeployDiscreteResourceValue>>
pub const fn value(&self) -> Option<&Located<DeployDiscreteResourceValue>>
Returns the optional raw value scalar category.
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 members.
Trait Implementations§
Source§impl Clone for DeployDiscreteResourceSpec
impl Clone for DeployDiscreteResourceSpec
Source§fn clone(&self) -> DeployDiscreteResourceSpec
fn clone(&self) -> DeployDiscreteResourceSpec
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 DeployDiscreteResourceSpec
impl Debug for DeployDiscreteResourceSpec
impl Eq for DeployDiscreteResourceSpec
impl StructuralPartialEq for DeployDiscreteResourceSpec
Auto Trait Implementations§
impl Freeze for DeployDiscreteResourceSpec
impl RefUnwindSafe for DeployDiscreteResourceSpec
impl Send for DeployDiscreteResourceSpec
impl Sync for DeployDiscreteResourceSpec
impl Unpin for DeployDiscreteResourceSpec
impl UnsafeUnpin for DeployDiscreteResourceSpec
impl UnwindSafe for DeployDiscreteResourceSpec
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