#[non_exhaustive]pub struct DatabaseProperties {
pub id: String,
pub system_properties: SystemProperties,
}
Expand description
Properties of a Cosmos DB database.
Returned by DatabaseClient::read()
.
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.id: String
The ID of the database.
system_properties: SystemProperties
A SystemProperties
object containing common system properties for the database.
Trait Implementations§
Source§impl Clone for DatabaseProperties
impl Clone for DatabaseProperties
Source§fn clone(&self) -> DatabaseProperties
fn clone(&self) -> DatabaseProperties
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 DatabaseProperties
impl Debug for DatabaseProperties
Source§impl Default for DatabaseProperties
impl Default for DatabaseProperties
Source§fn default() -> DatabaseProperties
fn default() -> DatabaseProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseProperties
impl<'de> Deserialize<'de> for DatabaseProperties
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
Source§impl PartialEq for DatabaseProperties
impl PartialEq for DatabaseProperties
impl Eq for DatabaseProperties
impl StructuralPartialEq for DatabaseProperties
Auto Trait Implementations§
impl Freeze for DatabaseProperties
impl RefUnwindSafe for DatabaseProperties
impl Send for DatabaseProperties
impl Sync for DatabaseProperties
impl Unpin for DatabaseProperties
impl UnwindSafe for DatabaseProperties
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