pub struct SqlDatabaseEndpoint {
pub address: IpAddr,
pub host: String,
pub port: u16,
pub database: String,
pub ca_certificates: Option<String>,
}Expand description
One policy-approved socket and its original TLS identity. No connection string, database override, initialization SQL, or ambient login is accepted.
Fields§
§address: IpAddr§host: String§port: u16§database: String§ca_certificates: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SqlDatabaseEndpoint
impl<'de> Deserialize<'de> for SqlDatabaseEndpoint
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 Freeze for SqlDatabaseEndpoint
impl RefUnwindSafe for SqlDatabaseEndpoint
impl Send for SqlDatabaseEndpoint
impl Sync for SqlDatabaseEndpoint
impl Unpin for SqlDatabaseEndpoint
impl UnsafeUnpin for SqlDatabaseEndpoint
impl UnwindSafe for SqlDatabaseEndpoint
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