pub struct Tag<'a> {
pub key: Cow<'a, str>,
pub value: Cow<'a, str>,
}
Expand description
Simple key/value tag structure reused across services.
Fieldsยง
ยงkey: Cow<'a, str>
ยงvalue: Cow<'a, str>
Implementationsยง
Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a> Freeze for Tag<'a>
impl<'a> RefUnwindSafe for Tag<'a>
impl<'a> Send for Tag<'a>
impl<'a> Sync for Tag<'a>
impl<'a> Unpin for Tag<'a>
impl<'a> UnwindSafe for Tag<'a>
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