Struct akita::DataBaseUser [−][src]
pub struct DataBaseUser {
pub sysid: Option<i32>,
pub username: String,
pub is_superuser: bool,
pub is_inherit: bool,
pub can_create_db: bool,
pub can_create_role: bool,
pub can_login: bool,
pub can_do_replication: bool,
pub can_bypass_rls: bool,
pub valid_until: Option<DateTime<Utc>>,
pub conn_limit: Option<i32>,
}
Fields
sysid: Option<i32>
username: String
is_superuser: bool
is_inherit: bool
can_create_db: bool
can_create_role: bool
can_login: bool
can_do_replication: bool
can_bypass_rls: bool
valid_until: Option<DateTime<Utc>>
conn_limit: Option<i32>
Trait Implementations
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