#[non_exhaustive]pub struct PubSubTopicSource {
pub topic: String,
pub data_affinity_regions: Vec<String>,
/* private fields */
}Expand description
Pub/Sub topic source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.topic: StringRequired. Resource name of the Pub/Sub topic source for this listing. e.g. projects/myproject/topics/topicId
data_affinity_regions: Vec<String>Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See https://cloud.google.com/about/locations for full listing of possible Cloud regions.
Implementations§
Source§impl PubSubTopicSource
impl PubSubTopicSource
Trait Implementations§
Source§impl Clone for PubSubTopicSource
impl Clone for PubSubTopicSource
Source§fn clone(&self) -> PubSubTopicSource
fn clone(&self) -> PubSubTopicSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PubSubTopicSource
impl Debug for PubSubTopicSource
Source§impl Default for PubSubTopicSource
impl Default for PubSubTopicSource
Source§fn default() -> PubSubTopicSource
fn default() -> PubSubTopicSource
Returns the “default value” for a type. Read more
Source§impl Message for PubSubTopicSource
impl Message for PubSubTopicSource
Source§impl PartialEq for PubSubTopicSource
impl PartialEq for PubSubTopicSource
impl StructuralPartialEq for PubSubTopicSource
Auto Trait Implementations§
impl Freeze for PubSubTopicSource
impl RefUnwindSafe for PubSubTopicSource
impl Send for PubSubTopicSource
impl Sync for PubSubTopicSource
impl Unpin for PubSubTopicSource
impl UnsafeUnpin for PubSubTopicSource
impl UnwindSafe for PubSubTopicSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more