pub struct NotificationSubscriptionCreateInput {Show 13 fields
pub id: Option<String>,
pub customer_id: Option<String>,
pub custom_view_id: Option<String>,
pub cycle_id: Option<String>,
pub initiative_id: Option<String>,
pub label_id: Option<String>,
pub project_id: Option<String>,
pub team_id: Option<String>,
pub user_id: Option<String>,
pub context_view_type: Option<ContextViewType>,
pub user_context_view_type: Option<UserContextViewType>,
pub notification_subscription_types: Option<Vec<String>>,
pub active: Option<bool>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
customer_id: Option<String>The identifier of the customer to subscribe to.
custom_view_id: Option<String>The identifier of the custom view to subscribe to.
cycle_id: Option<String>The identifier of the cycle to subscribe to.
initiative_id: Option<String>The identifier of the initiative to subscribe to.
label_id: Option<String>The identifier of the label to subscribe to.
project_id: Option<String>The identifier of the project to subscribe to.
team_id: Option<String>The identifier of the team to subscribe to.
user_id: Option<String>The identifier of the user to subscribe to.
context_view_type: Option<ContextViewType>The type of view to which the notification subscription context is associated with.
user_context_view_type: Option<UserContextViewType>The type of user view to which the notification subscription context is associated with.
notification_subscription_types: Option<Vec<String>>The types of notifications of the subscription.
active: Option<bool>Whether the subscription is active.
Trait Implementations§
Source§impl Clone for NotificationSubscriptionCreateInput
impl Clone for NotificationSubscriptionCreateInput
Source§fn clone(&self) -> NotificationSubscriptionCreateInput
fn clone(&self) -> NotificationSubscriptionCreateInput
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 Default for NotificationSubscriptionCreateInput
impl Default for NotificationSubscriptionCreateInput
Source§fn default() -> NotificationSubscriptionCreateInput
fn default() -> NotificationSubscriptionCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSubscriptionCreateInput
impl<'de> Deserialize<'de> for NotificationSubscriptionCreateInput
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
Auto Trait Implementations§
impl Freeze for NotificationSubscriptionCreateInput
impl RefUnwindSafe for NotificationSubscriptionCreateInput
impl Send for NotificationSubscriptionCreateInput
impl Sync for NotificationSubscriptionCreateInput
impl Unpin for NotificationSubscriptionCreateInput
impl UnwindSafe for NotificationSubscriptionCreateInput
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