pub struct StartupMessage {
pub parameters: HashMap<String, String>,
}Fields§
§parameters: HashMap<String, String>Implementations§
Source§impl StartupMessage
impl StartupMessage
pub fn new_replication(database: &str, user: &str) -> Self
Trait Implementations§
Source§impl Clone for StartupMessage
impl Clone for StartupMessage
Source§fn clone(&self) -> StartupMessage
fn clone(&self) -> StartupMessage
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 moreAuto Trait Implementations§
impl Freeze for StartupMessage
impl RefUnwindSafe for StartupMessage
impl Send for StartupMessage
impl Sync for StartupMessage
impl Unpin for StartupMessage
impl UnwindSafe for StartupMessage
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