Struct google_cloudtasks2::api::RunTaskRequest
source · pub struct RunTaskRequest {
pub response_view: Option<String>,
}
Expand description
Request message for forcing a task to run now using RunTask.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations queues tasks run projects (request)
Fields§
§response_view: Option<String>
The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires cloudtasks.tasks.fullView
Google IAM permission on the Task resource.
Trait Implementations§
source§impl Clone for RunTaskRequest
impl Clone for RunTaskRequest
source§fn clone(&self) -> RunTaskRequest
fn clone(&self) -> RunTaskRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RunTaskRequest
impl Debug for RunTaskRequest
source§impl Default for RunTaskRequest
impl Default for RunTaskRequest
source§fn default() -> RunTaskRequest
fn default() -> RunTaskRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RunTaskRequest
impl<'de> Deserialize<'de> for RunTaskRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for RunTaskRequest
impl Serialize for RunTaskRequest
impl RequestValue for RunTaskRequest
Auto Trait Implementations§
impl RefUnwindSafe for RunTaskRequest
impl Send for RunTaskRequest
impl Sync for RunTaskRequest
impl Unpin for RunTaskRequest
impl UnwindSafe for RunTaskRequest
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