pub struct SubgraphRequest { /* private fields */ }
Expand description
A structure representing a request that will be sent to a subgraph.
Implementations§
Source§impl SubgraphRequest
impl SubgraphRequest
Sourcepub fn subgraph_name(&self) -> &str
pub fn subgraph_name(&self) -> &str
Returns the name of the subgraph.
Sourcepub fn method(&self) -> HttpMethod
pub fn method(&self) -> HttpMethod
Returns the HTTP method for this request.
Auto Trait Implementations§
impl Freeze for SubgraphRequest
impl RefUnwindSafe for SubgraphRequest
impl Send for SubgraphRequest
impl Sync for SubgraphRequest
impl Unpin for SubgraphRequest
impl UnwindSafe for SubgraphRequest
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