[][src]Struct google_firebase1_beta1::DefaultResources

pub struct DefaultResources {
    pub location_id: Option<String>,
    pub storage_bucket: Option<String>,
    pub hosting_site: Option<String>,
    pub realtime_database_instance: Option<String>,
}

The default resources associated with a FirebaseProject.

This type is not used in any activity, and only used as part of another schema.

Fields

location_id: Option<String>

The ID of the project's default GCP resource location. The location is one of the available GCP resource locations.

This field is omitted if the default GCP resource location has not been finalized yet. To set your project's default GCP resource location, call FinalizeDefaultLocation after you add Firebase services to your project.

storage_bucket: Option<String>

The default Cloud Storage for Firebase storage bucket, in the format:
projectId.appspot.com

hosting_site: Option<String>

The default Firebase Hosting site name, in the format:
projectId
Though rare, your projectId might already be used as the name for an existing Hosting site in another project (learn more about creating non-default, additional sites). In these cases, your projectId is appended with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if your projectId is myproject123, your default Hosting site name might be:
myproject123-a5c16

realtime_database_instance: Option<String>

The default Firebase Realtime Database instance name, in the format:
projectId
Though rare, your projectId might already be used as the name for an existing Realtime Database instance in another project (learn more about database sharding). In these cases, your projectId is appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance name. For example, if your projectId is myproject123, your default database instance name might be:
myproject123-a5c16

Trait Implementations

impl Part for DefaultResources[src]

impl Default for DefaultResources[src]

impl Clone for DefaultResources[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DefaultResources[src]

impl Serialize for DefaultResources[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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