pub struct Transform<'a> {
pub value: &'a Value,
pub key: &'a str,
}
Expand description
This is an intermediate type used to extract the key attribute from the value. The value must be either a Hash or a Vec.
Fields§
§value: &'a Value
§key: &'a str
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Transform<'a>
impl<'a> RefUnwindSafe for Transform<'a>
impl<'a> !Send for Transform<'a>
impl<'a> !Sync for Transform<'a>
impl<'a> Unpin for Transform<'a>
impl<'a> UnwindSafe for Transform<'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