pub struct DeployResources { /* private fields */ }Expand description
Authored deploy resources with source-aware child fields.
Implementations§
Source§impl DeployResources
impl DeployResources
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete resources mapping span.
Sourcepub fn limits(&self) -> Option<&DeployResourceLimits>
pub fn limits(&self) -> Option<&DeployResourceLimits>
Returns authored resource limits without default or runtime interpretation.
Sourcepub fn reservations(&self) -> Option<&DeployResourceReservations>
pub fn reservations(&self) -> Option<&DeployResourceReservations>
Returns authored resource reservations without scheduling interpretation.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained resources extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown resources fields.
Trait Implementations§
Source§impl Clone for DeployResources
impl Clone for DeployResources
Source§fn clone(&self) -> DeployResources
fn clone(&self) -> DeployResources
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 DeployResources
impl Debug for DeployResources
impl Eq for DeployResources
Source§impl PartialEq for DeployResources
impl PartialEq for DeployResources
impl StructuralPartialEq for DeployResources
Auto Trait Implementations§
impl Freeze for DeployResources
impl RefUnwindSafe for DeployResources
impl Send for DeployResources
impl Sync for DeployResources
impl Unpin for DeployResources
impl UnsafeUnpin for DeployResources
impl UnwindSafe for DeployResources
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