#[non_exhaustive]pub struct ListTasksResponse {
pub tasks: Vec<Task>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message for listing tasks using ListTasks.
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.tasks: Vec<Task>The list of tasks.
next_page_token: StringA token to retrieve next page of results.
To return the next page of results, call ListTasks with this value as the page_token.
If the next_page_token is empty, there are no more results.
Implementations§
Source§impl ListTasksResponse
impl ListTasksResponse
pub fn new() -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListTasksResponse
impl Clone for ListTasksResponse
Source§fn clone(&self) -> ListTasksResponse
fn clone(&self) -> ListTasksResponse
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 ListTasksResponse
impl Debug for ListTasksResponse
Source§impl Default for ListTasksResponse
impl Default for ListTasksResponse
Source§fn default() -> ListTasksResponse
fn default() -> ListTasksResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListTasksResponse
impl Message for ListTasksResponse
Source§impl PartialEq for ListTasksResponse
impl PartialEq for ListTasksResponse
impl StructuralPartialEq for ListTasksResponse
Auto Trait Implementations§
impl Freeze for ListTasksResponse
impl RefUnwindSafe for ListTasksResponse
impl Send for ListTasksResponse
impl Sync for ListTasksResponse
impl Unpin for ListTasksResponse
impl UnwindSafe for ListTasksResponse
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