pub struct UserSettings {Show 19 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub notification_delivery_preferences: Option<Box<NotificationDeliveryPreferences>>,
pub unsubscribed_from: Option<Vec<String>>,
pub user: Option<Box<User>>,
pub calendar_hash: Option<String>,
pub subscribed_to_changelog: Option<bool>,
pub subscribed_to_dpa: Option<bool>,
pub subscribed_to_invite_accepted: Option<bool>,
pub subscribed_to_privacy_legal_updates: Option<bool>,
pub feed_summary_schedule: Option<FeedSummarySchedule>,
pub show_full_user_names: Option<bool>,
pub feed_last_seen_time: Option<DateTime<Utc>>,
pub auto_assign_to_self: Option<bool>,
pub notification_category_preferences: Option<Box<NotificationCategoryPreferences>>,
pub notification_channel_preferences: Option<Box<NotificationChannelPreferences>>,
pub theme: Option<Box<UserSettingsTheme>>,
}Expand description
The settings of a user as a JSON object.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
notification_delivery_preferences: Option<Box<NotificationDeliveryPreferences>>The notification delivery preferences for the user. Note: notificationDisabled field is deprecated in favor of notificationChannelPreferences.
unsubscribed_from: Option<Vec<String>>The email types the user has unsubscribed from.
user: Option<Box<User>>The user associated with these settings.
calendar_hash: Option<String>Hash for the user to be used in calendar URLs.
subscribed_to_changelog: Option<bool>Whether this user is subscribed to changelog email or not.
subscribed_to_dpa: Option<bool>Whether this user is subscribed to DPA emails or not.
subscribed_to_invite_accepted: Option<bool>Whether this user is subscribed to invite accepted emails or not.
subscribed_to_privacy_legal_updates: Option<bool>Whether this user is subscribed to privacy and legal update emails or not.
feed_summary_schedule: Option<FeedSummarySchedule>The user’s feed summary schedule preference.
show_full_user_names: Option<bool>Whether to show full user names instead of display names.
feed_last_seen_time: Option<DateTime<Utc>>The user’s last seen time for the pulse feed.
auto_assign_to_self: Option<bool>Whether to auto-assign newly created issues to the current user by default.
notification_category_preferences: Option<Box<NotificationCategoryPreferences>>The user’s notification category preferences.
notification_channel_preferences: Option<Box<NotificationChannelPreferences>>The user’s notification channel preferences.
theme: Option<Box<UserSettingsTheme>>The user’s theme for a given mode and device type.
Trait Implementations§
Source§impl Clone for UserSettings
impl Clone for UserSettings
Source§fn clone(&self) -> UserSettings
fn clone(&self) -> UserSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more