Struct gapi_grpc::google::cloud::pubsublite::v1::CreateTopicRequest[][src]

pub struct CreateTopicRequest {
    pub parent: String,
    pub topic: Option<Topic>,
    pub topic_id: String,
}

Request for CreateTopic.

Fields

parent: String

Required. The parent location in which to create the topic. Structured like projects/{project_number}/locations/{location}.

topic: Option<Topic>

Required. Configuration of the topic to create. Its name field is ignored.

topic_id: String

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

This value is structured like: my-topic-name.

Trait Implementations

impl Clone for CreateTopicRequest[src]

impl Debug for CreateTopicRequest[src]

impl Default for CreateTopicRequest[src]

impl Message for CreateTopicRequest[src]

impl PartialEq<CreateTopicRequest> for CreateTopicRequest[src]

impl StructuralPartialEq for CreateTopicRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateTopicRequest

impl Send for CreateTopicRequest

impl Sync for CreateTopicRequest

impl Unpin for CreateTopicRequest

impl UnwindSafe for CreateTopicRequest

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]