pub enum AttrValue<'a> {
String(&'a str),
Bytes(&'a [u8]),
Json(Value),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AttrValue<'a>
impl<'a> RefUnwindSafe for AttrValue<'a>
impl<'a> Send for AttrValue<'a>
impl<'a> Sync for AttrValue<'a>
impl<'a> Unpin for AttrValue<'a>
impl<'a> UnwindSafe for AttrValue<'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