#[non_exhaustive]pub struct PubsubDestination {
pub topic: String,
/* private fields */
}
Expand description
A Pub/Sub destination.
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: String
The name of the Pub/Sub topic to publish job completion notification
to. For example: projects/{project}/topics/{topic}
.
Implementations§
Trait Implementations§
Source§impl Clone for PubsubDestination
impl Clone for PubsubDestination
Source§fn clone(&self) -> PubsubDestination
fn clone(&self) -> PubsubDestination
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 PubsubDestination
impl Debug for PubsubDestination
Source§impl Default for PubsubDestination
impl Default for PubsubDestination
Source§fn default() -> PubsubDestination
fn default() -> PubsubDestination
Returns the “default value” for a type. Read more
Source§impl Message for PubsubDestination
impl Message for PubsubDestination
Source§impl PartialEq for PubsubDestination
impl PartialEq for PubsubDestination
impl StructuralPartialEq for PubsubDestination
Auto Trait Implementations§
impl Freeze for PubsubDestination
impl RefUnwindSafe for PubsubDestination
impl Send for PubsubDestination
impl Sync for PubsubDestination
impl Unpin for PubsubDestination
impl UnwindSafe for PubsubDestination
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