Struct gapi_grpc::google::pubsub::v1::CreateSchemaRequest[][src]

pub struct CreateSchemaRequest {
    pub parent: String,
    pub schema: Option<Schema>,
    pub schema_id: String,
}

Request for the CreateSchema method.

Fields

parent: String

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schema: Option<Schema>

Required. The schema object to create.

This schema’s name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schema_id: String

The ID to use for the schema, which will become the final component of the schema’s resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

Trait Implementations

impl Clone for CreateSchemaRequest[src]

impl Debug for CreateSchemaRequest[src]

impl Default for CreateSchemaRequest[src]

impl Message for CreateSchemaRequest[src]

impl PartialEq<CreateSchemaRequest> for CreateSchemaRequest[src]

impl StructuralPartialEq for CreateSchemaRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateSchemaRequest

impl Send for CreateSchemaRequest

impl Sync for CreateSchemaRequest

impl Unpin for CreateSchemaRequest

impl UnwindSafe for CreateSchemaRequest

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]