pub struct UserParameters {
pub application_name: Option<String>,
pub options: HashMap<String, String>,
}Expand description
PostgreSQL parameters sent in the StartupMessage.
Fields§
§application_name: Option<String>Application name visible in pg_stat_activity.
options: HashMap<String, String>GUC settings passed via the options connection parameter as -c
key-value pairs (for example, search_path, statement_timeout).
Trait Implementations§
Source§impl Clone for UserParameters
impl Clone for UserParameters
Source§impl Debug for UserParameters
impl Debug for UserParameters
Source§impl Default for UserParameters
impl Default for UserParameters
Source§impl<'de> Deserialize<'de> for UserParameters
impl<'de> Deserialize<'de> for UserParameters
Source§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
Auto Trait Implementations§
impl Forget for UserParameters
impl Freeze for UserParameters
impl Move for UserParameters
impl RefUnwindSafe for UserParameters
impl Send for UserParameters
impl Sync for UserParameters
impl Unpin for UserParameters
impl UnsafeUnpin for UserParameters
impl UnwindSafe for UserParameters
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