Enum googapis::google::cloud::tasks::v2::task::MessageType [−][src]
pub enum MessageType {
AppEngineHttpRequest(AppEngineHttpRequest),
HttpRequest(HttpRequest),
}
Expand description
Required. The message to send to the worker.
Variants
AppEngineHttpRequest(AppEngineHttpRequest)
HTTP request that is sent to the App Engine app handler.
An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
Tuple Fields of AppEngineHttpRequest
HttpRequest(HttpRequest)
HTTP request that is sent to the worker.
An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
Tuple Fields of HttpRequest
0: HttpRequest
Implementations
pub fn merge<B>(
field: &mut Option<MessageType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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