pub struct ProjectLabelEntry { /* private fields */ }Expand description
One effective service metadata label after field-specific multi-file merging.
Implementations§
Source§impl ProjectLabelEntry
impl ProjectLabelEntry
Sourcepub const fn name(&self) -> &ProjectKey
pub const fn name(&self) -> &ProjectKey
Returns the label name and its contributing key spans.
Sourcepub const fn value(&self) -> &ProjectValue<ComposeScalar>
pub const fn value(&self) -> &ProjectValue<ComposeScalar>
Returns the effective label scalar.
A key-only list entry has an explicit empty-string value while retaining
EntrySyntax::ListKeyOnly as its authored form.
Sourcepub const fn syntax(&self) -> EntrySyntax
pub const fn syntax(&self) -> EntrySyntax
Returns the most recent mapping or list syntax contributing this entry.
Trait Implementations§
Source§impl Clone for ProjectLabelEntry
impl Clone for ProjectLabelEntry
Source§fn clone(&self) -> ProjectLabelEntry
fn clone(&self) -> ProjectLabelEntry
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 ProjectLabelEntry
impl Debug for ProjectLabelEntry
impl Eq for ProjectLabelEntry
Source§impl PartialEq for ProjectLabelEntry
impl PartialEq for ProjectLabelEntry
impl StructuralPartialEq for ProjectLabelEntry
Auto Trait Implementations§
impl Freeze for ProjectLabelEntry
impl RefUnwindSafe for ProjectLabelEntry
impl Send for ProjectLabelEntry
impl Sync for ProjectLabelEntry
impl Unpin for ProjectLabelEntry
impl UnsafeUnpin for ProjectLabelEntry
impl UnwindSafe for ProjectLabelEntry
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