pub struct ProjectDeployPlacement { /* private fields */ }Expand description
Effective deploy placement with item and nested-member provenance.
Implementations§
Source§impl ProjectDeployPlacement
impl ProjectDeployPlacement
Sourcepub const fn constraints(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
pub const fn constraints( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
Returns ordered raw constraints, including duplicates and empty strings.
Sourcepub const fn preferences(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployPlacementPreference>>>>
pub const fn preferences( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<ProjectDeployPlacementPreference>>>>
Returns ordered placement preferences, including explicit empty mappings.
Sourcepub const fn max_replicas_per_node(
&self,
) -> Option<&ProjectValue<DeployPlacementMaxReplicasPerNode>>
pub const fn max_replicas_per_node( &self, ) -> Option<&ProjectValue<DeployPlacementMaxReplicasPerNode>>
Returns the effective max-replicas-per-node scalar spelling and category.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns extensions, unknown fields, and malformed children retained as evidence.
Trait Implementations§
Source§impl Clone for ProjectDeployPlacement
impl Clone for ProjectDeployPlacement
Source§fn clone(&self) -> ProjectDeployPlacement
fn clone(&self) -> ProjectDeployPlacement
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 ProjectDeployPlacement
impl Debug for ProjectDeployPlacement
impl Eq for ProjectDeployPlacement
Source§impl PartialEq for ProjectDeployPlacement
impl PartialEq for ProjectDeployPlacement
impl StructuralPartialEq for ProjectDeployPlacement
Auto Trait Implementations§
impl Freeze for ProjectDeployPlacement
impl RefUnwindSafe for ProjectDeployPlacement
impl Send for ProjectDeployPlacement
impl Sync for ProjectDeployPlacement
impl Unpin for ProjectDeployPlacement
impl UnsafeUnpin for ProjectDeployPlacement
impl UnwindSafe for ProjectDeployPlacement
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