pub struct PostgresEnvironment { /* private fields */ }Expand description
PostgreSQL configuration relevant to the qualification contract.
Implementations§
Source§impl PostgresEnvironment
impl PostgresEnvironment
Sourcepub fn new(
major_version: u16,
synchronous_commit: bool,
standby_mode: StandbyMode,
) -> Result<Self, EnvironmentError>
pub fn new( major_version: u16, synchronous_commit: bool, standby_mode: StandbyMode, ) -> Result<Self, EnvironmentError>
Creates bounded PostgreSQL metadata.
Trait Implementations§
Source§impl Clone for PostgresEnvironment
impl Clone for PostgresEnvironment
Source§impl Debug for PostgresEnvironment
impl Debug for PostgresEnvironment
Source§impl<'de> Deserialize<'de> for PostgresEnvironment
impl<'de> Deserialize<'de> for PostgresEnvironment
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
impl Eq for PostgresEnvironment
Source§impl PartialEq for PostgresEnvironment
impl PartialEq for PostgresEnvironment
Source§impl Serialize for PostgresEnvironment
impl Serialize for PostgresEnvironment
impl StructuralPartialEq for PostgresEnvironment
Auto Trait Implementations§
impl Forget for PostgresEnvironment
impl Freeze for PostgresEnvironment
impl Move for PostgresEnvironment
impl RefUnwindSafe for PostgresEnvironment
impl Send for PostgresEnvironment
impl Sync for PostgresEnvironment
impl Unpin for PostgresEnvironment
impl UnsafeUnpin for PostgresEnvironment
impl UnwindSafe for PostgresEnvironment
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