(user: &User)
| 89 | |
| 90 | impl From<&User> for mz_pgwire_common::UserMetadata { |
| 91 | fn from(user: &User) -> mz_pgwire_common::UserMetadata { |
| 92 | mz_pgwire_common::UserMetadata { |
| 93 | is_admin: user.is_external_admin(), |
| 94 | should_limit_connections: user.limit_max_connections(), |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | impl PartialEq for User { |
nothing calls this directly
no test coverage detected