#[non_exhaustive]pub struct UsersListResponse {
pub kind: String,
pub items: Vec<User>,
pub next_page_token: String,
/* private fields */
}
Expand description
User list 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.kind: String
This is always sql#usersList
.
items: Vec<User>
List of user resources in the instance.
next_page_token: String
👎Deprecated
Unused.
Implementations§
Source§impl UsersListResponse
impl UsersListResponse
pub fn new() -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
👎Deprecated
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 UsersListResponse
impl Clone for UsersListResponse
Source§fn clone(&self) -> UsersListResponse
fn clone(&self) -> UsersListResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UsersListResponse
impl Debug for UsersListResponse
Source§impl Default for UsersListResponse
impl Default for UsersListResponse
Source§fn default() -> UsersListResponse
fn default() -> UsersListResponse
Returns the “default value” for a type. Read more
Source§impl Message for UsersListResponse
impl Message for UsersListResponse
Source§impl PartialEq for UsersListResponse
impl PartialEq for UsersListResponse
impl StructuralPartialEq for UsersListResponse
Auto Trait Implementations§
impl Freeze for UsersListResponse
impl RefUnwindSafe for UsersListResponse
impl Send for UsersListResponse
impl Sync for UsersListResponse
impl Unpin for UsersListResponse
impl UnwindSafe for UsersListResponse
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