pub struct PrivilegesSpec {
pub privileges: Vec<String>,
}
Fields§
§privileges: Vec<String>
Trait Implementations§
Source§impl Clone for PrivilegesSpec
impl Clone for PrivilegesSpec
Source§fn clone(&self) -> PrivilegesSpec
fn clone(&self) -> PrivilegesSpec
Returns a copy 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 PrivilegesSpec
impl Debug for PrivilegesSpec
Source§impl Deserialize for PrivilegesSpec
impl Deserialize for PrivilegesSpec
Source§type Output = PrivilegesSpec
type Output = PrivilegesSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<PrivilegesSpec> for ToClientCommand
impl From<PrivilegesSpec> for ToClientCommand
Source§fn from(value: PrivilegesSpec) -> Self
fn from(value: PrivilegesSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrivilegesSpec
impl PartialEq for PrivilegesSpec
Source§impl Serialize for PrivilegesSpec
impl Serialize for PrivilegesSpec
type Input = PrivilegesSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for PrivilegesSpec
Auto Trait Implementations§
impl Freeze for PrivilegesSpec
impl RefUnwindSafe for PrivilegesSpec
impl Send for PrivilegesSpec
impl Sync for PrivilegesSpec
impl Unpin for PrivilegesSpec
impl UnwindSafe for PrivilegesSpec
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