pub struct SequencePrivilegeInquiry<'a> {
pub names: &'a dyn RoleReferenceNames,
pub roles: &'a dyn RoleCatalogGuards,
pub security: &'a dyn SequenceSecurityCatalog,
pub resolution: &'a dyn SequencePrivilegeResolution,
}Fields§
§names: &'a dyn RoleReferenceNames§roles: &'a dyn RoleCatalogGuards§security: &'a dyn SequenceSecurityCatalog§resolution: &'a dyn SequencePrivilegeResolutionImplementations§
Source§impl SequencePrivilegeInquiry<'_>
impl SequencePrivilegeInquiry<'_>
pub fn ensure_sequence_nextval_privilege( &self, name: &str, relation: &RelationIdentity, ) -> Result<(), SQLError>
pub fn ensure_sequence_currval_privilege( &self, name: &str, relation: &RelationIdentity, ) -> Result<(), SQLError>
pub fn ensure_sequence_setval_privilege( &self, name: &str, relation: &RelationIdentity, ) -> Result<(), SQLError>
pub fn has_sequence_privilege_value( &self, arguments: &[Value], ) -> Result<Value, SQLError>
pub fn role_has_sequence_table_privilege( &self, relation: &RelationIdentity, subject: &str, privilege: TableAclPrivilege, grant_option: bool, ) -> Result<bool, SQLError>
pub fn ensure_sequence_owner( &self, name: &str, relation: &RelationIdentity, ) -> Result<String, SQLError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SequencePrivilegeInquiry<'a>
impl<'a> !Send for SequencePrivilegeInquiry<'a>
impl<'a> !Sync for SequencePrivilegeInquiry<'a>
impl<'a> !UnwindSafe for SequencePrivilegeInquiry<'a>
impl<'a> Freeze for SequencePrivilegeInquiry<'a>
impl<'a> Unpin for SequencePrivilegeInquiry<'a>
impl<'a> UnsafeUnpin for SequencePrivilegeInquiry<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more