pub struct Parameter {
pub keyword: String,
pub value: String,
}
Expand description
A query parameter attached to the connection string.
This can be used to pass various configuration options to libpq
, or to
override other parts of the URI.
Fields§
§keyword: String
The key portion of the key=value pair.
value: String
The value portion of the key=value pair.
Trait Implementations§
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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