#[non_exhaustive]pub struct OracleSslConfig {
pub ca_certificate: String,
pub ca_certificate_set: bool,
pub server_certificate_distinguished_name: String,
/* private fields */
}
Expand description
Oracle SSL configuration information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ca_certificate: String
Input only. PEM-encoded certificate of the CA that signed the source database server’s certificate.
ca_certificate_set: bool
Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
server_certificate_distinguished_name: String
Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
Implementations§
Source§impl OracleSslConfig
impl OracleSslConfig
pub fn new() -> Self
Sourcepub fn set_ca_certificate<T: Into<String>>(self, v: T) -> Self
pub fn set_ca_certificate<T: Into<String>>(self, v: T) -> Self
Sets the value of ca_certificate.
Sourcepub fn set_ca_certificate_set<T: Into<bool>>(self, v: T) -> Self
pub fn set_ca_certificate_set<T: Into<bool>>(self, v: T) -> Self
Sets the value of ca_certificate_set.
Sourcepub fn set_server_certificate_distinguished_name<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_server_certificate_distinguished_name<T: Into<String>>( self, v: T, ) -> Self
Sets the value of server_certificate_distinguished_name.
Trait Implementations§
Source§impl Clone for OracleSslConfig
impl Clone for OracleSslConfig
Source§fn clone(&self) -> OracleSslConfig
fn clone(&self) -> OracleSslConfig
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 moreSource§impl Debug for OracleSslConfig
impl Debug for OracleSslConfig
Source§impl Default for OracleSslConfig
impl Default for OracleSslConfig
Source§fn default() -> OracleSslConfig
fn default() -> OracleSslConfig
Returns the “default value” for a type. Read more
Source§impl Message for OracleSslConfig
impl Message for OracleSslConfig
Source§impl PartialEq for OracleSslConfig
impl PartialEq for OracleSslConfig
impl StructuralPartialEq for OracleSslConfig
Auto Trait Implementations§
impl Freeze for OracleSslConfig
impl RefUnwindSafe for OracleSslConfig
impl Send for OracleSslConfig
impl Sync for OracleSslConfig
impl Unpin for OracleSslConfig
impl UnwindSafe for OracleSslConfig
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