pub struct AclSource {
pub role: String,
pub privileges: Vec<String>,
pub reachable: bool,
}Fields§
§role: String§privileges: Vec<String>what role gave of the grant’s privileges. A revoke is held back only by a source out of reach that gave some of what it takes back.
reachable: boolwhether the data table’s connection can take back what role gave. On an object that is the owner, when the connection acts for the owner, and otherwise the connection itself; for a default privilege, a creating role the connection acts for. What a source out of reach gave is not revocable from here; privileges only other sources gave still are.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AclSource
impl<'de> Deserialize<'de> for AclSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AclSource
Auto Trait Implementations§
impl Freeze for AclSource
impl RefUnwindSafe for AclSource
impl Send for AclSource
impl Sync for AclSource
impl Unpin for AclSource
impl UnsafeUnpin for AclSource
impl UnwindSafe for AclSource
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