pub struct DeployPlacementPreference { /* private fields */ }Expand description
One authored placement preference mapping.
Implementations§
Source§impl DeployPlacementPreference
impl DeployPlacementPreference
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete preference mapping span.
Sourcepub const fn spread(&self) -> Option<&Located<String>>
pub const fn spread(&self) -> Option<&Located<String>>
Returns the raw optional spread expression without evaluating it.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained preference extensions.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown preference fields.
Trait Implementations§
Source§impl Clone for DeployPlacementPreference
impl Clone for DeployPlacementPreference
Source§fn clone(&self) -> DeployPlacementPreference
fn clone(&self) -> DeployPlacementPreference
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 DeployPlacementPreference
impl Debug for DeployPlacementPreference
impl Eq for DeployPlacementPreference
impl StructuralPartialEq for DeployPlacementPreference
Auto Trait Implementations§
impl Freeze for DeployPlacementPreference
impl RefUnwindSafe for DeployPlacementPreference
impl Send for DeployPlacementPreference
impl Sync for DeployPlacementPreference
impl Unpin for DeployPlacementPreference
impl UnsafeUnpin for DeployPlacementPreference
impl UnwindSafe for DeployPlacementPreference
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