Struct google_container1::api::PubSub
source · pub struct PubSub {
pub enabled: Option<bool>,
pub filter: Option<Filter>,
pub topic: Option<String>,
}
Expand description
Pub/Sub specific notification config.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>
Enable notifications for Pub/Sub.
filter: Option<Filter>
Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
topic: Option<String>
The desired Pub/Sub topic to which notifications will be sent by GKE. Format is projects/{project}/topics/{topic}
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for PubSub
impl<'de> Deserialize<'de> for PubSub
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for PubSub
Auto Trait Implementations§
impl RefUnwindSafe for PubSub
impl Send for PubSub
impl Sync for PubSub
impl Unpin for PubSub
impl UnwindSafe for PubSub
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