#[non_exhaustive]pub struct GetTaskRequest {
pub name: String,
pub response_view: View,
/* private fields */
}Expand description
Request message for getting a task using GetTask.
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 GetTaskRequest
impl Clone for GetTaskRequest
Source§fn clone(&self) -> GetTaskRequest
fn clone(&self) -> GetTaskRequest
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 GetTaskRequest
impl Debug for GetTaskRequest
Source§impl Default for GetTaskRequest
impl Default for GetTaskRequest
Source§fn default() -> GetTaskRequest
fn default() -> GetTaskRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetTaskRequest
impl Message for GetTaskRequest
Source§impl PartialEq for GetTaskRequest
impl PartialEq for GetTaskRequest
impl StructuralPartialEq for GetTaskRequest
Auto Trait Implementations§
impl Freeze for GetTaskRequest
impl RefUnwindSafe for GetTaskRequest
impl Send for GetTaskRequest
impl Sync for GetTaskRequest
impl Unpin for GetTaskRequest
impl UnwindSafe for GetTaskRequest
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