pub struct ProjectLabels { /* private fields */ }Expand description
A normalized-by-key service-label view retaining each entry’s effective syntax.
Implementations§
Source§impl ProjectLabels
impl ProjectLabels
Sourcepub fn entries(&self) -> &[ProjectLabelEntry]
pub fn entries(&self) -> &[ProjectLabelEntry]
Returns labels in effective merge order.
Sourcepub fn get(&self, name: &str) -> Option<&ProjectLabelEntry>
pub fn get(&self, name: &str) -> Option<&ProjectLabelEntry>
Finds an effective label by name.
Trait Implementations§
Source§impl Clone for ProjectLabels
impl Clone for ProjectLabels
Source§fn clone(&self) -> ProjectLabels
fn clone(&self) -> ProjectLabels
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 ProjectLabels
impl Debug for ProjectLabels
impl Eq for ProjectLabels
Source§impl PartialEq for ProjectLabels
impl PartialEq for ProjectLabels
impl StructuralPartialEq for ProjectLabels
Auto Trait Implementations§
impl Freeze for ProjectLabels
impl RefUnwindSafe for ProjectLabels
impl Send for ProjectLabels
impl Sync for ProjectLabels
impl Unpin for ProjectLabels
impl UnsafeUnpin for ProjectLabels
impl UnwindSafe for ProjectLabels
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