#[non_exhaustive]pub struct TargetNotificationEvent {
pub message: String,
pub target: String,
pub type: Type,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/target_notification” Platform Log event that describes the failure to send target status change Pub/Sub notification.
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.message: String
Debug message for when a notification fails to send.
target: String
The name of the Target
.
type: Type
Type of this notification, e.g. for a Pub/Sub failure.
Implementations§
Trait Implementations§
Source§impl Clone for TargetNotificationEvent
impl Clone for TargetNotificationEvent
Source§fn clone(&self) -> TargetNotificationEvent
fn clone(&self) -> TargetNotificationEvent
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 TargetNotificationEvent
impl Debug for TargetNotificationEvent
Source§impl Default for TargetNotificationEvent
impl Default for TargetNotificationEvent
Source§fn default() -> TargetNotificationEvent
fn default() -> TargetNotificationEvent
Returns the “default value” for a type. Read more
Source§impl Message for TargetNotificationEvent
impl Message for TargetNotificationEvent
Source§impl PartialEq for TargetNotificationEvent
impl PartialEq for TargetNotificationEvent
impl StructuralPartialEq for TargetNotificationEvent
Auto Trait Implementations§
impl Freeze for TargetNotificationEvent
impl RefUnwindSafe for TargetNotificationEvent
impl Send for TargetNotificationEvent
impl Sync for TargetNotificationEvent
impl Unpin for TargetNotificationEvent
impl UnwindSafe for TargetNotificationEvent
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