pub struct Attr {
pub key: Ident,
}Expand description
#[query] “Custom-Header”: my_function(self.url)
This would signify a header that is dependent on the query, and so is added at the time of the query being built/sent, rather then when the client is built.
Fields§
§key: IdentTrait Implementations§
Auto Trait Implementations§
impl !Send for Attr
impl !Sync for Attr
impl Freeze for Attr
impl RefUnwindSafe for Attr
impl Unpin for Attr
impl UnsafeUnpin for Attr
impl UnwindSafe for Attr
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