Struct grafana_plugin_sdk::backend::CallResourceRequest [−][src]
pub struct CallResourceRequest<T = Bytes> {
pub plugin_context: Option<PluginContext>,
pub request: Request<T>,
}
Expand description
A request for a resource call.
Fields
plugin_context: Option<PluginContext>
Details of the plugin instance from which the request originated.
request: Request<T>
The HTTP request.
Trait Implementations
type Error = ConvertFromError
type Error = ConvertFromError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<T = Bytes> !RefUnwindSafe for CallResourceRequest<T>
impl<T> Send for CallResourceRequest<T> where
T: Send,
impl<T> Sync for CallResourceRequest<T> where
T: Sync,
impl<T> Unpin for CallResourceRequest<T> where
T: Unpin,
impl<T = Bytes> !UnwindSafe for CallResourceRequest<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more