pub struct Schema {
pub oid: u32,
pub name: String,
pub owner: u32,
pub acl: Option<Vec<String>>,
}Expand description
A schema.
Fields§
§oid: u32The OID.
name: StringThe name.
owner: u32The OID of the owner role.
acl: Option<Vec<String>>nspacl: the privileges as aclitem texts, or None for the default privileges of the owner.
Trait Implementations§
impl Eq for Schema
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnsafeUnpin for Schema
impl UnwindSafe for Schema
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