pub struct Grants {
pub features: HashSet<String>,
pub accounts: HashSet<String>,
}Expand description
权限信息
Fields§
§features: HashSet<String>功能权限
accounts: HashSet<String>账户权限
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grants
impl RefUnwindSafe for Grants
impl Send for Grants
impl Sync for Grants
impl Unpin for Grants
impl UnwindSafe for Grants
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