#[non_exhaustive]pub struct ListResourceEnrollmentStatusesResponse {
pub resource_enrollment_statuses: Vec<ResourceEnrollmentStatus>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message with all the descendent resources with enrollment.
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.resource_enrollment_statuses: Vec<ResourceEnrollmentStatus>The resources with their enrollment status.
next_page_token: StringOutput only. The token to retrieve the next page of results.
Implementations§
Source§impl ListResourceEnrollmentStatusesResponse
impl ListResourceEnrollmentStatusesResponse
pub fn new() -> Self
Sourcepub fn set_resource_enrollment_statuses<T, V>(self, v: T) -> Self
pub fn set_resource_enrollment_statuses<T, V>(self, v: T) -> Self
Sets the value of resource_enrollment_statuses.
§Example
ⓘ
use google_cloud_auditmanager_v1::model::ResourceEnrollmentStatus;
let x = ListResourceEnrollmentStatusesResponse::new()
.set_resource_enrollment_statuses([
ResourceEnrollmentStatus::default()/* use setters */,
ResourceEnrollmentStatus::default()/* use (different) setters */,
]);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.
§Example
ⓘ
let x = ListResourceEnrollmentStatusesResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListResourceEnrollmentStatusesResponse
impl Clone for ListResourceEnrollmentStatusesResponse
Source§fn clone(&self) -> ListResourceEnrollmentStatusesResponse
fn clone(&self) -> ListResourceEnrollmentStatusesResponse
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 ListResourceEnrollmentStatusesResponse
impl Default for ListResourceEnrollmentStatusesResponse
Source§fn default() -> ListResourceEnrollmentStatusesResponse
fn default() -> ListResourceEnrollmentStatusesResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListResourceEnrollmentStatusesResponse
impl PartialEq for ListResourceEnrollmentStatusesResponse
Source§fn eq(&self, other: &ListResourceEnrollmentStatusesResponse) -> bool
fn eq(&self, other: &ListResourceEnrollmentStatusesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListResourceEnrollmentStatusesResponse
Auto Trait Implementations§
impl Freeze for ListResourceEnrollmentStatusesResponse
impl RefUnwindSafe for ListResourceEnrollmentStatusesResponse
impl Send for ListResourceEnrollmentStatusesResponse
impl Sync for ListResourceEnrollmentStatusesResponse
impl Unpin for ListResourceEnrollmentStatusesResponse
impl UnsafeUnpin for ListResourceEnrollmentStatusesResponse
impl UnwindSafe for ListResourceEnrollmentStatusesResponse
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