pub struct NotificationRecipients {
pub reporter: Option<bool>,
pub assignee: Option<bool>,
pub watchers: Option<bool>,
pub voters: Option<bool>,
pub users: Option<Vec<UserDetails>>,
pub groups: Option<Vec<GroupName>>,
}
Expand description
NotificationRecipients : Details of the users and groups to receive the notification.
Fields§
§reporter: Option<bool>
Whether the notification should be sent to the issue’s reporter.
assignee: Option<bool>
Whether the notification should be sent to the issue’s assignees.
watchers: Option<bool>
Whether the notification should be sent to the issue’s watchers.
voters: Option<bool>
Whether the notification should be sent to the issue’s voters.
users: Option<Vec<UserDetails>>
List of users to receive the notification.
groups: Option<Vec<GroupName>>
List of groups to receive the notification.
Implementations§
Source§impl NotificationRecipients
impl NotificationRecipients
Sourcepub fn new() -> NotificationRecipients
pub fn new() -> NotificationRecipients
Details of the users and groups to receive the notification.
Trait Implementations§
Source§impl Clone for NotificationRecipients
impl Clone for NotificationRecipients
Source§fn clone(&self) -> NotificationRecipients
fn clone(&self) -> NotificationRecipients
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 NotificationRecipients
impl Debug for NotificationRecipients
Source§impl Default for NotificationRecipients
impl Default for NotificationRecipients
Source§fn default() -> NotificationRecipients
fn default() -> NotificationRecipients
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationRecipients
impl<'de> Deserialize<'de> for NotificationRecipients
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
Source§impl PartialEq for NotificationRecipients
impl PartialEq for NotificationRecipients
Source§impl Serialize for NotificationRecipients
impl Serialize for NotificationRecipients
impl StructuralPartialEq for NotificationRecipients
Auto Trait Implementations§
impl Freeze for NotificationRecipients
impl RefUnwindSafe for NotificationRecipients
impl Send for NotificationRecipients
impl Sync for NotificationRecipients
impl Unpin for NotificationRecipients
impl UnwindSafe for NotificationRecipients
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