#[non_exhaustive]pub struct SqlTdeImportOptions {
pub certificate_path: String,
pub private_key_path: String,
pub private_key_password: String,
pub name: String,
/* private fields */
}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.certificate_path: StringRequired. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
private_key_path: StringRequired. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
private_key_password: StringRequired. Password that encrypts the private key.
name: StringRequired. Certificate name. Applicable only for SQL Server instances.
Implementations§
Source§impl SqlTdeImportOptions
impl SqlTdeImportOptions
pub fn new() -> Self
Sourcepub fn set_certificate_path<T: Into<String>>(self, v: T) -> Self
pub fn set_certificate_path<T: Into<String>>(self, v: T) -> Self
Sets the value of certificate_path.
§Example
ⓘ
let x = SqlTdeImportOptions::new().set_certificate_path("example");Sourcepub fn set_private_key_path<T: Into<String>>(self, v: T) -> Self
pub fn set_private_key_path<T: Into<String>>(self, v: T) -> Self
Sets the value of private_key_path.
§Example
ⓘ
let x = SqlTdeImportOptions::new().set_private_key_path("example");Sourcepub fn set_private_key_password<T: Into<String>>(self, v: T) -> Self
pub fn set_private_key_password<T: Into<String>>(self, v: T) -> Self
Sets the value of private_key_password.
§Example
ⓘ
let x = SqlTdeImportOptions::new().set_private_key_password("example");Trait Implementations§
Source§impl Clone for SqlTdeImportOptions
impl Clone for SqlTdeImportOptions
Source§fn clone(&self) -> SqlTdeImportOptions
fn clone(&self) -> SqlTdeImportOptions
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 SqlTdeImportOptions
impl Debug for SqlTdeImportOptions
Source§impl Default for SqlTdeImportOptions
impl Default for SqlTdeImportOptions
Source§fn default() -> SqlTdeImportOptions
fn default() -> SqlTdeImportOptions
Returns the “default value” for a type. Read more
Source§impl Message for SqlTdeImportOptions
impl Message for SqlTdeImportOptions
Source§impl PartialEq for SqlTdeImportOptions
impl PartialEq for SqlTdeImportOptions
impl StructuralPartialEq for SqlTdeImportOptions
Auto Trait Implementations§
impl Freeze for SqlTdeImportOptions
impl RefUnwindSafe for SqlTdeImportOptions
impl Send for SqlTdeImportOptions
impl Sync for SqlTdeImportOptions
impl Unpin for SqlTdeImportOptions
impl UnwindSafe for SqlTdeImportOptions
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