pub struct ScopeQuery {
pub subject: AuthSubject,
pub permission: Permission,
}Expand description
查询某个权限可访问的数据范围。
Fields§
§subject: AuthSubject租户级主体。
permission: Permission包含动作的完整权限。
Trait Implementations§
Source§impl Clone for ScopeQuery
impl Clone for ScopeQuery
Source§fn clone(&self) -> ScopeQuery
fn clone(&self) -> ScopeQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScopeQuery
impl Debug for ScopeQuery
Source§impl PartialEq for ScopeQuery
impl PartialEq for ScopeQuery
Source§fn eq(&self, other: &ScopeQuery) -> bool
fn eq(&self, other: &ScopeQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ScopeQuery
impl StructuralPartialEq for ScopeQuery
Auto Trait Implementations§
impl Freeze for ScopeQuery
impl RefUnwindSafe for ScopeQuery
impl Send for ScopeQuery
impl Sync for ScopeQuery
impl Unpin for ScopeQuery
impl UnsafeUnpin for ScopeQuery
impl UnwindSafe for ScopeQuery
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