pub struct Labels { /* private fields */ }Expand description
The labels one record carries: those of its categories and those of each of its origins.
Implementations§
Source§impl Labels
impl Labels
Sourcepub fn categories(&self) -> &[Label]
pub fn categories(&self) -> &[Label]
The labels of the categories of the data accessed, each once.
Sourcepub fn origin(&self, endpoint: &str) -> &[Label]
pub fn origin(&self, endpoint: &str) -> &[Label]
The labels of the origin endpoint, none when the record names no
such origin.
Trait Implementations§
impl Eq for Labels
impl StructuralPartialEq for Labels
Auto Trait Implementations§
impl Freeze for Labels
impl RefUnwindSafe for Labels
impl Send for Labels
impl Sync for Labels
impl Unpin for Labels
impl UnsafeUnpin for Labels
impl UnwindSafe for Labels
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