pub struct AlterRoleOptions {
pub role: &'static str,
pub id: &'static str,
pub permission: Value,
pub super_user: bool,
}
Fields§
§role: &'static str
§id: &'static str
§permission: Value
§super_user: bool
Trait Implementations§
Source§impl Clone for AlterRoleOptions
impl Clone for AlterRoleOptions
Source§fn clone(&self) -> AlterRoleOptions
fn clone(&self) -> AlterRoleOptions
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 AlterRoleOptions
impl Debug for AlterRoleOptions
Source§impl Deserialize<'static> for AlterRoleOptions
impl Deserialize<'static> for AlterRoleOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AlterRoleOptions
impl RefUnwindSafe for AlterRoleOptions
impl Send for AlterRoleOptions
impl Sync for AlterRoleOptions
impl Unpin for AlterRoleOptions
impl UnwindSafe for AlterRoleOptions
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