Struct google_firebasedatabase1_beta::api::DatabaseInstance[][src]

pub struct DatabaseInstance {
    pub database_url: Option<String>,
    pub name: Option<String>,
    pub project: Option<String>,
    pub state: Option<String>,
    pub type_: Option<String>,
}

Representation of a Realtime Database instance. Details on interacting with contents of a DatabaseInstance can be found at: https://firebase.google.com/docs/database/rest/start.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

database_url: Option<String>

Immutable. The globally unique hostname of the database.

name: Option<String>

The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}. Currently the only supported location is ‘us-central1’.

project: Option<String>

The resource name of the project this instance belongs to. For example: projects/{project-number}.

state: Option<String>

The database’s lifecycle state. Read-only.

type_: Option<String>

The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.

Trait Implementations

impl Clone for DatabaseInstance[src]

impl Debug for DatabaseInstance[src]

impl Default for DatabaseInstance[src]

impl<'de> Deserialize<'de> for DatabaseInstance[src]

impl RequestValue for DatabaseInstance[src]

impl ResponseResult for DatabaseInstance[src]

impl Serialize for DatabaseInstance[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.