pub enum AclDefaultAclPrivilege {
INSERT,
SELECT,
UPDATE,
DELETE,
TRUNCATE,
REFERENCES,
TRIGGER,
MAINTAIN,
USAGE,
EXECUTE,
}Variants§
Trait Implementations§
Source§impl Clone for AclDefaultAclPrivilege
impl Clone for AclDefaultAclPrivilege
Source§fn clone(&self) -> AclDefaultAclPrivilege
fn clone(&self) -> AclDefaultAclPrivilege
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AclDefaultAclPrivilege
impl Debug for AclDefaultAclPrivilege
Source§impl<'de> Deserialize<'de> for AclDefaultAclPrivilege
impl<'de> Deserialize<'de> for AclDefaultAclPrivilege
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclDefaultAclPrivilege, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclDefaultAclPrivilege, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> FromSql<'a> for AclDefaultAclPrivilege
impl<'a> FromSql<'a> for AclDefaultAclPrivilege
Source§fn from_sql(
_type: &Type,
buf: &'a [u8],
) -> Result<AclDefaultAclPrivilege, Box<dyn Error + Send + Sync>>
fn from_sql( _type: &Type, buf: &'a [u8], ) -> Result<AclDefaultAclPrivilege, Box<dyn Error + Send + Sync>>
Creates a new value of this type from a buffer of data of the specified
Postgres
Type in its binary format. Read moreSource§fn accepts(type_: &Type) -> bool
fn accepts(type_: &Type) -> bool
Determines if a value of this type can be created from the specified
Postgres
Type.Source§impl Ord for AclDefaultAclPrivilege
impl Ord for AclDefaultAclPrivilege
Source§fn cmp(&self, other: &AclDefaultAclPrivilege) -> Ordering
fn cmp(&self, other: &AclDefaultAclPrivilege) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AclDefaultAclPrivilege
impl PartialEq for AclDefaultAclPrivilege
Source§impl PartialOrd for AclDefaultAclPrivilege
impl PartialOrd for AclDefaultAclPrivilege
Source§impl Serialize for AclDefaultAclPrivilege
impl Serialize for AclDefaultAclPrivilege
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl ToSql for AclDefaultAclPrivilege
impl ToSql for AclDefaultAclPrivilege
Source§fn to_sql(
&self,
_type: &Type,
buf: &mut BytesMut,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn to_sql( &self, _type: &Type, buf: &mut BytesMut, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Converts the value of
self into the binary format of the specified
Postgres Type, appending it to out. Read moreSource§fn accepts(type_: &Type) -> bool
fn accepts(type_: &Type) -> bool
Determines if a value of this type can be converted to the specified
Postgres
Type.Source§fn to_sql_checked(
&self,
ty: &Type,
out: &mut BytesMut,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn to_sql_checked( &self, ty: &Type, out: &mut BytesMut, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
An adaptor method used internally by Rust-Postgres. Read more
Source§fn encode_format(&self, _ty: &Type) -> Format
fn encode_format(&self, _ty: &Type) -> Format
Specify the encode format
impl Copy for AclDefaultAclPrivilege
impl Eq for AclDefaultAclPrivilege
impl StructuralPartialEq for AclDefaultAclPrivilege
Auto Trait Implementations§
impl Freeze for AclDefaultAclPrivilege
impl RefUnwindSafe for AclDefaultAclPrivilege
impl Send for AclDefaultAclPrivilege
impl Sync for AclDefaultAclPrivilege
impl Unpin for AclDefaultAclPrivilege
impl UnsafeUnpin for AclDefaultAclPrivilege
impl UnwindSafe for AclDefaultAclPrivilege
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
Source§impl<T> BorrowToSql for Twhere
T: ToSql,
impl<T> BorrowToSql for Twhere
T: ToSql,
Source§fn borrow_to_sql(&self) -> &dyn ToSql
fn borrow_to_sql(&self) -> &dyn ToSql
Returns a reference to
self as a ToSql trait object.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.