Struct google_pubsub1::Topic
[−]
[src]
pub struct Topic { pub name: Option<String>, }
A topic resource.
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).
- topics create projects (request|response)
- topics get projects (response)
Fields
name: Option<String>
The name of the topic. It must have the format
"projects/{project}/topics/{topic}"
. {topic}
must start with a letter,
and contain only letters ([A-Za-z]
), numbers ([0-9]
), dashes (-
),
underscores (_
), periods (.
), tildes (~
), plus (+
) or percent
signs (%
). It must be between 3 and 255 characters in length, and it
must not start with "goog"
.
Trait Implementations
impl Default for Topic
[src]
impl Clone for Topic
[src]
fn clone(&self) -> Topic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more