pub struct NotificationPrefs {
pub pipeline_failed: bool,
pub review_requested: bool,
pub pr_approved: bool,
pub pr_changes_requested: bool,
pub pipeline_approval_needed: bool,
}Expand description
Per-event desktop-notification opt-ins. Every event defaults to on.
Fields§
§pipeline_failed: bool§review_requested: bool§pr_approved: bool§pr_changes_requested: bool§pipeline_approval_needed: boolImplementations§
Trait Implementations§
Source§impl Clone for NotificationPrefs
impl Clone for NotificationPrefs
impl Copy for NotificationPrefs
Source§impl Debug for NotificationPrefs
impl Debug for NotificationPrefs
Source§impl Default for NotificationPrefs
impl Default for NotificationPrefs
Source§impl<'de> Deserialize<'de> for NotificationPrefs
impl<'de> Deserialize<'de> for NotificationPrefs
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 Eq for NotificationPrefs
Source§impl PartialEq for NotificationPrefs
impl PartialEq for NotificationPrefs
Source§impl Serialize for NotificationPrefs
impl Serialize for NotificationPrefs
impl StructuralPartialEq for NotificationPrefs
Auto Trait Implementations§
impl Freeze for NotificationPrefs
impl RefUnwindSafe for NotificationPrefs
impl Send for NotificationPrefs
impl Sync for NotificationPrefs
impl Unpin for NotificationPrefs
impl UnsafeUnpin for NotificationPrefs
impl UnwindSafe for NotificationPrefs
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