#[non_exhaustive]pub struct ListNotificationChannelsResponse {
pub notification_channels: Vec<NotificationChannel>,
pub next_page_token: String,
pub total_size: i32,
/* private fields */
}Expand description
The ListNotificationChannels response.
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.notification_channels: Vec<NotificationChannel>The notification channels defined for the specified project.
next_page_token: StringIf not empty, indicates that there may be more results that match
the request. Use the value in the page_token field in a
subsequent request to fetch the next set of results. If empty,
all results have been returned.
total_size: i32The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
Implementations§
Source§impl ListNotificationChannelsResponse
impl ListNotificationChannelsResponse
pub fn new() -> Self
Sourcepub fn set_notification_channels<T, V>(self, v: T) -> Self
pub fn set_notification_channels<T, V>(self, v: T) -> Self
Sets the value of notification_channels.
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.
Sourcepub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of total_size.
Trait Implementations§
Source§impl Clone for ListNotificationChannelsResponse
impl Clone for ListNotificationChannelsResponse
Source§fn clone(&self) -> ListNotificationChannelsResponse
fn clone(&self) -> ListNotificationChannelsResponse
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 Default for ListNotificationChannelsResponse
impl Default for ListNotificationChannelsResponse
Source§fn default() -> ListNotificationChannelsResponse
fn default() -> ListNotificationChannelsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListNotificationChannelsResponse
impl PartialEq for ListNotificationChannelsResponse
Source§fn eq(&self, other: &ListNotificationChannelsResponse) -> bool
fn eq(&self, other: &ListNotificationChannelsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListNotificationChannelsResponse
Auto Trait Implementations§
impl Freeze for ListNotificationChannelsResponse
impl RefUnwindSafe for ListNotificationChannelsResponse
impl Send for ListNotificationChannelsResponse
impl Sync for ListNotificationChannelsResponse
impl Unpin for ListNotificationChannelsResponse
impl UnwindSafe for ListNotificationChannelsResponse
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