pub struct Database {
pub id: Option<String>,
pub name: Option<String>,
pub type: Option<String>,
pub location: Option<String>,
pub sku: Option<DatabaseSku>,
pub tags: HashMap<String, String>,
pub properties: Option<DatabaseProperties>,
}Expand description
A database resource.
Azure API: sql.v1.Database
Reference: https://learn.microsoft.com/en-us/rest/api/sql//Database
Fields§
§id: Option<String>Fully qualified resource ID
name: Option<String>The name of the resource
type: Option<String>The type of the resource
location: Option<String>Resource location
sku: Option<DatabaseSku>The database SKU
Resource tags
properties: Option<DatabaseProperties>Resource properties
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Database
impl<'de> Deserialize<'de> for Database
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Database
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnsafeUnpin for Database
impl UnwindSafe for Database
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