Struct google_spectrum1_explorer::api::DatabaseSpec
source · pub struct DatabaseSpec {
pub name: Option<String>,
pub uri: Option<String>,
}
Expand description
This message contains the name and URI of a database.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The display name for a database.
uri: Option<String>
The corresponding URI of the database.
Trait Implementations§
source§impl Clone for DatabaseSpec
impl Clone for DatabaseSpec
source§fn clone(&self) -> DatabaseSpec
fn clone(&self) -> DatabaseSpec
Returns a copy 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 DatabaseSpec
impl Debug for DatabaseSpec
source§impl Default for DatabaseSpec
impl Default for DatabaseSpec
source§fn default() -> DatabaseSpec
fn default() -> DatabaseSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DatabaseSpec
impl<'de> Deserialize<'de> for DatabaseSpec
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 Serialize for DatabaseSpec
impl Serialize for DatabaseSpec
impl Part for DatabaseSpec
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseSpec
impl Send for DatabaseSpec
impl Sync for DatabaseSpec
impl Unpin for DatabaseSpec
impl UnwindSafe for DatabaseSpec
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