pub struct NotificationScheme {
pub description: Option<String>,
pub expand: Option<String>,
pub id: Option<i64>,
pub name: Option<String>,
pub notification_scheme_events: Option<Vec<NotificationSchemeEvent>>,
pub projects: Option<Vec<i64>>,
pub scope: Option<Scope>,
pub param_self: Option<String>,
}
Expand description
NotificationScheme : Details about a notification scheme.
Fields§
§description: Option<String>
The description of the notification scheme.
expand: Option<String>
Expand options that include additional notification scheme details in the response.
id: Option<i64>
The ID of the notification scheme.
name: Option<String>
The name of the notification scheme.
notification_scheme_events: Option<Vec<NotificationSchemeEvent>>
The notification events and associated recipients.
projects: Option<Vec<i64>>
The list of project IDs associated with the notification scheme.
scope: Option<Scope>
The scope of the notification scheme.
param_self: Option<String>
Implementations§
Source§impl NotificationScheme
impl NotificationScheme
Sourcepub fn new() -> NotificationScheme
pub fn new() -> NotificationScheme
Details about a notification scheme.
Trait Implementations§
Source§impl Clone for NotificationScheme
impl Clone for NotificationScheme
Source§fn clone(&self) -> NotificationScheme
fn clone(&self) -> NotificationScheme
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 NotificationScheme
impl Debug for NotificationScheme
Source§impl Default for NotificationScheme
impl Default for NotificationScheme
Source§fn default() -> NotificationScheme
fn default() -> NotificationScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationScheme
impl<'de> Deserialize<'de> for NotificationScheme
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 NotificationScheme
impl PartialEq for NotificationScheme
Source§impl Serialize for NotificationScheme
impl Serialize for NotificationScheme
impl StructuralPartialEq for NotificationScheme
Auto Trait Implementations§
impl Freeze for NotificationScheme
impl RefUnwindSafe for NotificationScheme
impl Send for NotificationScheme
impl Sync for NotificationScheme
impl Unpin for NotificationScheme
impl UnwindSafe for NotificationScheme
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