#[non_exhaustive]pub struct SqlServerDatabaseDetails {
pub compatibility_level: i32,
pub recovery_model: String,
/* private fields */
}
Expand description
Represents a Sql Server database on the Cloud SQL instance.
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.compatibility_level: i32
The version of SQL Server with which the database is to be made compatible
recovery_model: String
The recovery model of a SQL Server database
Implementations§
Source§impl SqlServerDatabaseDetails
impl SqlServerDatabaseDetails
pub fn new() -> Self
Sourcepub fn set_compatibility_level<T: Into<i32>>(self, v: T) -> Self
pub fn set_compatibility_level<T: Into<i32>>(self, v: T) -> Self
Sets the value of compatibility_level.
Sourcepub fn set_recovery_model<T: Into<String>>(self, v: T) -> Self
pub fn set_recovery_model<T: Into<String>>(self, v: T) -> Self
Sets the value of recovery_model.
Trait Implementations§
Source§impl Clone for SqlServerDatabaseDetails
impl Clone for SqlServerDatabaseDetails
Source§fn clone(&self) -> SqlServerDatabaseDetails
fn clone(&self) -> SqlServerDatabaseDetails
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 SqlServerDatabaseDetails
impl Debug for SqlServerDatabaseDetails
Source§impl Default for SqlServerDatabaseDetails
impl Default for SqlServerDatabaseDetails
Source§fn default() -> SqlServerDatabaseDetails
fn default() -> SqlServerDatabaseDetails
Returns the “default value” for a type. Read more
Source§impl Message for SqlServerDatabaseDetails
impl Message for SqlServerDatabaseDetails
Source§impl PartialEq for SqlServerDatabaseDetails
impl PartialEq for SqlServerDatabaseDetails
impl StructuralPartialEq for SqlServerDatabaseDetails
Auto Trait Implementations§
impl Freeze for SqlServerDatabaseDetails
impl RefUnwindSafe for SqlServerDatabaseDetails
impl Send for SqlServerDatabaseDetails
impl Sync for SqlServerDatabaseDetails
impl Unpin for SqlServerDatabaseDetails
impl UnwindSafe for SqlServerDatabaseDetails
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