#[non_exhaustive]pub struct ListDatabaseRolesResponse {
pub database_roles: Vec<DatabaseRole>,
pub next_page_token: String,
/* private fields */
}
Expand description
The response for ListDatabaseRoles.
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.database_roles: Vec<DatabaseRole>
Database roles that matched the request.
next_page_token: String
next_page_token
can be sent in a subsequent
ListDatabaseRoles
call to fetch more of the matching roles.
Implementations§
Source§impl ListDatabaseRolesResponse
impl ListDatabaseRolesResponse
pub fn new() -> Self
Sourcepub fn set_database_roles<T, V>(self, v: T) -> Self
pub fn set_database_roles<T, V>(self, v: T) -> Self
Sets the value of database_roles.
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 ListDatabaseRolesResponse
impl Clone for ListDatabaseRolesResponse
Source§fn clone(&self) -> ListDatabaseRolesResponse
fn clone(&self) -> ListDatabaseRolesResponse
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 ListDatabaseRolesResponse
impl Debug for ListDatabaseRolesResponse
Source§impl Default for ListDatabaseRolesResponse
impl Default for ListDatabaseRolesResponse
Source§fn default() -> ListDatabaseRolesResponse
fn default() -> ListDatabaseRolesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListDatabaseRolesResponse
impl Message for ListDatabaseRolesResponse
impl StructuralPartialEq for ListDatabaseRolesResponse
Auto Trait Implementations§
impl Freeze for ListDatabaseRolesResponse
impl RefUnwindSafe for ListDatabaseRolesResponse
impl Send for ListDatabaseRolesResponse
impl Sync for ListDatabaseRolesResponse
impl Unpin for ListDatabaseRolesResponse
impl UnwindSafe for ListDatabaseRolesResponse
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