pub struct ListAlertPoliciesResponse {
pub alert_policies: Option<Vec<AlertPolicy>>,
pub next_page_token: Option<String>,
pub total_size: Option<i32>,
}
Expand description
The protocol for the ListAlertPolicies response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- alert policies list projects (response)
Fields§
§alert_policies: Option<Vec<AlertPolicy>>
The returned alert policies.
next_page_token: Option<String>
If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.
total_size: Option<i32>
The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
Trait Implementations§
Source§impl Clone for ListAlertPoliciesResponse
impl Clone for ListAlertPoliciesResponse
Source§fn clone(&self) -> ListAlertPoliciesResponse
fn clone(&self) -> ListAlertPoliciesResponse
Returns a copy 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 ListAlertPoliciesResponse
impl Debug for ListAlertPoliciesResponse
Source§impl Default for ListAlertPoliciesResponse
impl Default for ListAlertPoliciesResponse
Source§fn default() -> ListAlertPoliciesResponse
fn default() -> ListAlertPoliciesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListAlertPoliciesResponse
impl<'de> Deserialize<'de> for ListAlertPoliciesResponse
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 ResponseResult for ListAlertPoliciesResponse
Auto Trait Implementations§
impl Freeze for ListAlertPoliciesResponse
impl RefUnwindSafe for ListAlertPoliciesResponse
impl Send for ListAlertPoliciesResponse
impl Sync for ListAlertPoliciesResponse
impl Unpin for ListAlertPoliciesResponse
impl UnwindSafe for ListAlertPoliciesResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more