pub struct ViewRow {
pub relation: RelationIdentity,
pub role_owner: String,
pub acl: Option<Vec<TableAclEntry>>,
pub column_acls: BTreeMap<String, Vec<TableAclEntry>>,
pub definition_json: String,
}Expand description
One durable view definition. definition_json contains a serialized
planner query plan, while ownership remains a typed catalog relation.
Fields§
§relation: RelationIdentity§role_owner: StringSQL role that owns the view. Catalogs created before view role ownership was persisted belong to the bootstrap role.
acl: Option<Vec<TableAclEntry>>Explicit relation-wide ACL. None preserves PostgreSQL’s implicit owner-only default ACL.
column_acls: BTreeMap<String, Vec<TableAclEntry>>Explicit per-column ACL paths keyed by the view’s public column name.
definition_json: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ViewRow
impl RefUnwindSafe for ViewRow
impl Send for ViewRow
impl Sync for ViewRow
impl Unpin for ViewRow
impl UnsafeUnpin for ViewRow
impl UnwindSafe for ViewRow
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