pub struct DeployDefinition { /* private fields */ }Expand description
A deploy definition split into independently classifiable fields.
Implementations§
Source§impl DeployDefinition
impl DeployDefinition
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete deploy mapping span.
Sourcepub fn fields(&self) -> &[DeployField]
pub fn fields(&self) -> &[DeployField]
Returns recognized deploy fields in authored order.
Sourcepub fn field(&self, kind: DeployFieldKind) -> Option<&DeployField>
pub fn field(&self, kind: DeployFieldKind) -> Option<&DeployField>
Finds the first recognized field of the requested kind.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns fields not recognized by this release.
Trait Implementations§
Source§impl Clone for DeployDefinition
impl Clone for DeployDefinition
Source§fn clone(&self) -> DeployDefinition
fn clone(&self) -> DeployDefinition
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 DeployDefinition
impl Debug for DeployDefinition
impl Eq for DeployDefinition
Source§impl PartialEq for DeployDefinition
impl PartialEq for DeployDefinition
impl StructuralPartialEq for DeployDefinition
Auto Trait Implementations§
impl Freeze for DeployDefinition
impl RefUnwindSafe for DeployDefinition
impl Send for DeployDefinition
impl Sync for DeployDefinition
impl Unpin for DeployDefinition
impl UnsafeUnpin for DeployDefinition
impl UnwindSafe for DeployDefinition
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