#[non_exhaustive]pub struct RunTaskRequest {
pub name: String,
pub response_view: View,
/* private fields */
}Expand description
Request message for forcing a task to run now using RunTask.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The task name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID
response_view: ViewThe 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.
Implementations§
Trait Implementations§
Source§impl Clone for RunTaskRequest
impl Clone for RunTaskRequest
Source§fn clone(&self) -> RunTaskRequest
fn clone(&self) -> RunTaskRequest
Returns a duplicate 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 Message for RunTaskRequest
impl Message for RunTaskRequest
Source§impl PartialEq for RunTaskRequest
impl PartialEq for RunTaskRequest
impl StructuralPartialEq for RunTaskRequest
Auto Trait Implementations§
impl Freeze for RunTaskRequest
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