pub struct DatatableAclInfo {
pub owner: String,
pub roles: Vec<String>,
pub editable: bool,
pub clone: bool,
pub supports_maintain: bool,
pub dbname: String,
pub grants: Vec<AclGrant>,
pub children: Vec<String>,
}Fields§
§owner: String§roles: Vec<String>the roles a change may name; empty unless the caller may change anything
editable: boolwhether the caller may plan and apply changes
clone: boolwhether this is a clone, whose grants stay as they were copied
supports_maintain: boolwhether the server is Postgres 17+, which added the MAINTAIN table privilege
dbname: Stringthe database the target lives in
grants: Vec<AclGrant>§children: Vec<String>a database’s schemas, or a schema’s tables
Implementations§
Trait Implementations§
Source§impl Clone for DatatableAclInfo
impl Clone for DatatableAclInfo
Source§impl Debug for DatatableAclInfo
impl Debug for DatatableAclInfo
Source§impl Default for DatatableAclInfo
impl Default for DatatableAclInfo
Source§impl<'de> Deserialize<'de> for DatatableAclInfo
impl<'de> Deserialize<'de> for DatatableAclInfo
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
Source§impl PartialEq for DatatableAclInfo
impl PartialEq for DatatableAclInfo
Source§impl Serialize for DatatableAclInfo
impl Serialize for DatatableAclInfo
impl StructuralPartialEq for DatatableAclInfo
Auto Trait Implementations§
impl Freeze for DatatableAclInfo
impl RefUnwindSafe for DatatableAclInfo
impl Send for DatatableAclInfo
impl Sync for DatatableAclInfo
impl Unpin for DatatableAclInfo
impl UnsafeUnpin for DatatableAclInfo
impl UnwindSafe for DatatableAclInfo
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