#[non_exhaustive]pub struct SqlTdeExportOptions {
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 write access to the bucket. 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 write access to the location. 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 SqlTdeExportOptions
impl SqlTdeExportOptions
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 = SqlTdeExportOptions::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 = SqlTdeExportOptions::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 = SqlTdeExportOptions::new().set_private_key_password("example");Trait Implementations§
Source§impl Clone for SqlTdeExportOptions
impl Clone for SqlTdeExportOptions
Source§fn clone(&self) -> SqlTdeExportOptions
fn clone(&self) -> SqlTdeExportOptions
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 SqlTdeExportOptions
impl Debug for SqlTdeExportOptions
Source§impl Default for SqlTdeExportOptions
impl Default for SqlTdeExportOptions
Source§fn default() -> SqlTdeExportOptions
fn default() -> SqlTdeExportOptions
Returns the “default value” for a type. Read more
Source§impl Message for SqlTdeExportOptions
impl Message for SqlTdeExportOptions
Source§impl PartialEq for SqlTdeExportOptions
impl PartialEq for SqlTdeExportOptions
impl StructuralPartialEq for SqlTdeExportOptions
Auto Trait Implementations§
impl Freeze for SqlTdeExportOptions
impl RefUnwindSafe for SqlTdeExportOptions
impl Send for SqlTdeExportOptions
impl Sync for SqlTdeExportOptions
impl Unpin for SqlTdeExportOptions
impl UnwindSafe for SqlTdeExportOptions
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