#[non_exhaustive]pub struct OracleSslConfig {
pub ca_certificate: String,
pub ca_certificate_set: bool,
/* 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: StringInput only. PEM-encoded certificate of the CA that signed the source database server’s certificate.
ca_certificate_set: boolOutput only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
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.
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