pub struct EventNotification {
pub expand: Option<String>,
pub id: Option<i64>,
pub notification_type: Option<NotificationType>,
pub parameter: Option<String>,
pub group: Option<Box<GroupName>>,
pub field: Option<Box<FieldDetails>>,
pub email_address: Option<String>,
pub project_role: Option<Box<ProjectRole>>,
pub user: Option<Box<UserDetails>>,
}
Expand description
EventNotification : Details about a notification associated with an event.
Fields§
§expand: Option<String>
Expand options that include additional event notification details in the response.
id: Option<i64>
The ID of the notification.
notification_type: Option<NotificationType>
Identifies the recipients of the notification.
parameter: Option<String>
The value of the notificationType
: * User
The parameter
is the user account ID. * Group
The parameter
is the group name. * ProjectRole
The parameter
is the project role ID. * UserCustomField
The parameter
is the ID of the custom field. * GroupCustomField
The parameter
is the ID of the custom field.
group: Option<Box<GroupName>>
The specified group.
field: Option<Box<FieldDetails>>
The custom user or group field.
email_address: Option<String>
The email address.
project_role: Option<Box<ProjectRole>>
The specified project role.
user: Option<Box<UserDetails>>
The specified user.
Implementations§
Source§impl EventNotification
impl EventNotification
Sourcepub fn new() -> EventNotification
pub fn new() -> EventNotification
Details about a notification associated with an event.
Trait Implementations§
Source§impl Clone for EventNotification
impl Clone for EventNotification
Source§fn clone(&self) -> EventNotification
fn clone(&self) -> EventNotification
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 EventNotification
impl Debug for EventNotification
Source§impl Default for EventNotification
impl Default for EventNotification
Source§fn default() -> EventNotification
fn default() -> EventNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventNotification
impl<'de> Deserialize<'de> for EventNotification
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 EventNotification
impl PartialEq for EventNotification
Source§impl Serialize for EventNotification
impl Serialize for EventNotification
impl StructuralPartialEq for EventNotification
Auto Trait Implementations§
impl Freeze for EventNotification
impl RefUnwindSafe for EventNotification
impl Send for EventNotification
impl Sync for EventNotification
impl Unpin for EventNotification
impl UnwindSafe for EventNotification
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