pub struct ProjectAnnotations { /* private fields */ }Expand description
Effective service annotations keyed by semantic name with authored evidence retained.
Implementations§
Source§impl ProjectAnnotations
impl ProjectAnnotations
Sourcepub fn entries(&self) -> &[ProjectAnnotationEntry]
pub fn entries(&self) -> &[ProjectAnnotationEntry]
Returns effective annotations in first-key order.
Sourcepub fn get(&self, name: &str) -> Option<&ProjectAnnotationEntry>
pub fn get(&self, name: &str) -> Option<&ProjectAnnotationEntry>
Finds an effective annotation by name.
Trait Implementations§
Source§impl Clone for ProjectAnnotations
impl Clone for ProjectAnnotations
Source§fn clone(&self) -> ProjectAnnotations
fn clone(&self) -> ProjectAnnotations
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 ProjectAnnotations
impl Debug for ProjectAnnotations
impl Eq for ProjectAnnotations
Source§impl PartialEq for ProjectAnnotations
impl PartialEq for ProjectAnnotations
impl StructuralPartialEq for ProjectAnnotations
Auto Trait Implementations§
impl Freeze for ProjectAnnotations
impl RefUnwindSafe for ProjectAnnotations
impl Send for ProjectAnnotations
impl Sync for ProjectAnnotations
impl Unpin for ProjectAnnotations
impl UnsafeUnpin for ProjectAnnotations
impl UnwindSafe for ProjectAnnotations
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