[][src]Struct gcp_client::google::spanner::admin::instance::v1::CreateInstanceRequest

pub struct CreateInstanceRequest {
    pub parent: String,
    pub instance_id: String,
    pub instance: Option<Instance>,
}

The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].

Fields

parent: String

Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

instance_id: String

Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 2 and 64 characters in length.

instance: Option<Instance>

Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

Trait Implementations

impl Clone for CreateInstanceRequest[src]

impl Debug for CreateInstanceRequest[src]

impl Default for CreateInstanceRequest[src]

impl Message for CreateInstanceRequest[src]

impl PartialEq<CreateInstanceRequest> for CreateInstanceRequest[src]

impl StructuralPartialEq for CreateInstanceRequest[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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]