#[non_exhaustive]pub struct DatabaseRole {
pub name: String,
/* private fields */
}Expand description
A Cloud Spanner database role.
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.name: StringRequired. The name of the database role. Values are of the form
projects/<project>/instances/<instance>/databases/<database>/databaseRoles/<role>
where <role> is as specified in the CREATE ROLE DDL statement.
Implementations§
Trait Implementations§
Source§impl Clone for DatabaseRole
impl Clone for DatabaseRole
Source§fn clone(&self) -> DatabaseRole
fn clone(&self) -> DatabaseRole
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 DatabaseRole
impl Debug for DatabaseRole
Source§impl Default for DatabaseRole
impl Default for DatabaseRole
Source§fn default() -> DatabaseRole
fn default() -> DatabaseRole
Returns the “default value” for a type. Read more
Source§impl Message for DatabaseRole
impl Message for DatabaseRole
Source§impl PartialEq for DatabaseRole
impl PartialEq for DatabaseRole
impl StructuralPartialEq for DatabaseRole
Auto Trait Implementations§
impl Freeze for DatabaseRole
impl RefUnwindSafe for DatabaseRole
impl Send for DatabaseRole
impl Sync for DatabaseRole
impl Unpin for DatabaseRole
impl UnwindSafe for DatabaseRole
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