#[non_exhaustive]pub struct ListUserCredsResponse {
pub user_creds: Vec<UserCreds>,
/* private fields */
}Expand description
The response for FirestoreAdmin.ListUserCreds.
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.user_creds: Vec<UserCreds>The user creds for the database.
Implementations§
Source§impl ListUserCredsResponse
impl ListUserCredsResponse
pub fn new() -> Self
Sourcepub fn set_user_creds<T, V>(self, v: T) -> Self
pub fn set_user_creds<T, V>(self, v: T) -> Self
Sets the value of user_creds.
§Example
ⓘ
use google_cloud_firestore_admin_v1::model::UserCreds;
let x = ListUserCredsResponse::new()
.set_user_creds([
UserCreds::default()/* use setters */,
UserCreds::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for ListUserCredsResponse
impl Clone for ListUserCredsResponse
Source§fn clone(&self) -> ListUserCredsResponse
fn clone(&self) -> ListUserCredsResponse
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 ListUserCredsResponse
impl Debug for ListUserCredsResponse
Source§impl Default for ListUserCredsResponse
impl Default for ListUserCredsResponse
Source§fn default() -> ListUserCredsResponse
fn default() -> ListUserCredsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListUserCredsResponse
impl Message for ListUserCredsResponse
Source§impl PartialEq for ListUserCredsResponse
impl PartialEq for ListUserCredsResponse
impl StructuralPartialEq for ListUserCredsResponse
Auto Trait Implementations§
impl Freeze for ListUserCredsResponse
impl RefUnwindSafe for ListUserCredsResponse
impl Send for ListUserCredsResponse
impl Sync for ListUserCredsResponse
impl Unpin for ListUserCredsResponse
impl UnwindSafe for ListUserCredsResponse
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