pub struct ListTaskPushNotificationConfigsResponse {
pub configs: Vec<TaskPushNotificationConfig>,
pub next_page_token: Option<String>,
}Expand description
A typed ListTaskPushNotificationConfigs
response. Wire form:
{
"configs": [TaskPushNotificationConfig, ...],
"nextPageToken": "..."
}Fields§
§configs: Vec<TaskPushNotificationConfig>The configurations. An empty list is a task that has no configs.
next_page_token: Option<String>A token to retrieve the next page of
results, or empty if there are no
more results in the list. A response
with no nextPageToken is the
last page.
Implementations§
Source§impl ListTaskPushNotificationConfigsResponse
impl ListTaskPushNotificationConfigsResponse
Sourcepub fn new(
configs: impl IntoIterator<Item = TaskPushNotificationConfig>,
) -> Self
pub fn new( configs: impl IntoIterator<Item = TaskPushNotificationConfig>, ) -> Self
Starts a new response with configs.
Use
with_next_page_token
to attach a token.
Sourcepub fn with_next_page_token(self, next_page_token: impl Into<String>) -> Self
pub fn with_next_page_token(self, next_page_token: impl Into<String>) -> Self
Sets the next page token.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListTaskPushNotificationConfigsResponse
impl<'de> Deserialize<'de> for ListTaskPushNotificationConfigsResponse
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
impl Eq for ListTaskPushNotificationConfigsResponse
impl StructuralPartialEq for ListTaskPushNotificationConfigsResponse
Auto Trait Implementations§
impl Freeze for ListTaskPushNotificationConfigsResponse
impl RefUnwindSafe for ListTaskPushNotificationConfigsResponse
impl Send for ListTaskPushNotificationConfigsResponse
impl Sync for ListTaskPushNotificationConfigsResponse
impl Unpin for ListTaskPushNotificationConfigsResponse
impl UnsafeUnpin for ListTaskPushNotificationConfigsResponse
impl UnwindSafe for ListTaskPushNotificationConfigsResponse
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