Skip to main content

UserProfile

Struct UserProfile 

Source
pub struct UserProfile {
Show 94 fields pub chat_view_layout: Option<ChatViewLayout>, pub email_to_card: Option<MemberEmailToCard>, pub notification_delivery: Option<Box<MemberNotificationDelivery>>, pub my_dependencies: Option<Vec<PersonalDependency>>, pub notify_muted_activities: Option<Vec<String>>, pub notify_override_tray: Option<bool>, pub notify_override_email: Option<bool>, pub webhook_hide_identity: Option<bool>, pub unread_changes_since: Option<String>, pub keep_title_tags: Option<bool>, pub checklist_ding_sound: Option<bool>, pub dismissed_board_announcements: Option<BTreeMap<String, String>>, pub card_label_text_override: Option<bool>, pub show_label_text_override: Option<bool>, pub board_labels: Option<BTreeMap<String, Vec<String>>>, pub hidden_boards: Option<Vec<String>>, pub starred_swimlanes: Option<Vec<String>>, pub starred_lists: Option<Vec<String>>, pub starred_cards: Option<Vec<String>>, pub default_board_template_id: Option<String>, pub default_board_template_board_id: Option<String>, pub board_views: Option<BTreeMap<String, String>>, pub show_board_dependencies: Option<bool>, pub show_my_dependencies: Option<bool>, pub board_visits: Option<BTreeMap<String, String>>, pub dismissed_rule_suggestions: Option<BTreeMap<String, Vec<String>>>, pub date_format_override: Option<bool>, pub fullname: Option<String>, pub avatar_url: Option<String>, pub email_buffer: Option<Vec<Option<String>>>, pub show_desktop_drag_handles: Option<bool>, pub left_menu_collapsed: Option<bool>, pub collapsed_workspaces: Option<BTreeMap<String, bool>>, pub left_menu_width: Option<Number>, pub submit_on_enter: Option<bool>, pub open_many_cards_at_once: Option<bool>, pub all_boards_theme_tiles: Option<bool>, pub global_theme_color: Option<String>, pub global_theme_custom_colors: Option<Vec<Option<String>>>, pub ui_font: Option<String>, pub ui_font_size: Option<String>, pub ui_text_color: Option<String>, pub ui_text_bg_color: Option<String>, pub dismissed_announcement_version: Option<String>, pub card_maximized: Option<bool>, pub card_collapsed: Option<bool>, pub show_activities: Option<bool>, pub custom_fields_grid: Option<bool>, pub trello_api_saved: Option<bool>, pub hidden_minicard_label_text: Option<bool>, pub initials: Option<String>, pub board_workspaces_tree: Option<Vec<UserWorkspaceNode>>, pub board_workspace_assignments: Option<BTreeMap<String, String>>, pub invited_boards: Option<Vec<Option<String>>>, pub language: Option<String>, pub map_provider: Option<String>, pub move_and_copy_dialog: Option<BTreeMap<String, UserDialogOptions>>, pub move_checklist_dialog: Option<BTreeMap<String, UserDialogOptions>>, pub copy_checklist_dialog: Option<BTreeMap<String, UserDialogOptions>>, pub notifications: Option<Vec<UserProfileNotification>>, pub rescue_card_description: Option<bool>, pub show_cards_count_at: Option<Number>, pub start_day_of_week: Option<Number>, pub starred_boards: Option<Vec<Option<String>>>, pub starred_pages: Option<Vec<UserProfileStarredPage>>, pub default_board_id: Option<String>, pub icode: Option<String>, pub board_view: Option<String>, pub list_sort_by: Option<String>, pub all_boards_sort_by: Option<String>, pub templates_board_id: Option<String>, pub card_templates_swimlane_id: Option<String>, pub list_templates_swimlane_id: Option<String>, pub board_templates_swimlane_id: Option<String>, pub sidebar_width: Option<Number>, pub list_widths: Option<BTreeMap<String, BTreeMap<String, Number>>>, pub list_constraints: Option<BTreeMap<String, BTreeMap<String, Number>>>, pub auto_width_boards: Option<BTreeMap<String, bool>>, pub board_sort_index: Option<BTreeMap<String, Number>>, pub fixed_list_width_boards: Option<BTreeMap<String, bool>>, pub fixed_list_widths: Option<BTreeMap<String, Number>>, pub swimlane_heights: Option<BTreeMap<String, BTreeMap<String, Number>>>, pub collapsed_lists: Option<BTreeMap<String, BTreeMap<String, bool>>>, pub collapsed_swimlanes: Option<BTreeMap<String, BTreeMap<String, bool>>>, pub collapsed_card_sections: Option<BTreeMap<String, BTreeMap<String, bool>>>, pub keyboard_shortcuts: Option<bool>, pub vertical_scrollbars: Option<bool>, pub show_week_of_year: Option<bool>, pub date_format: Option<String>, pub mobile_mode: Option<bool>, pub card_zoom: Option<Number>, pub calendar_system: Option<String>, pub collapsed_cards: Option<BTreeMap<String, BTreeMap<String, bool>>>, pub card_last_views: Option<BTreeMap<String, String>>,
}

Fields§

§chat_view_layout: Option<ChatViewLayout>§email_to_card: Option<MemberEmailToCard>§notification_delivery: Option<Box<MemberNotificationDelivery>>§my_dependencies: Option<Vec<PersonalDependency>>§notify_muted_activities: Option<Vec<String>>§notify_override_tray: Option<bool>§notify_override_email: Option<bool>§webhook_hide_identity: Option<bool>§unread_changes_since: Option<String>§keep_title_tags: Option<bool>§checklist_ding_sound: Option<bool>§dismissed_board_announcements: Option<BTreeMap<String, String>>§card_label_text_override: Option<bool>§show_label_text_override: Option<bool>§board_labels: Option<BTreeMap<String, Vec<String>>>§hidden_boards: Option<Vec<String>>§starred_swimlanes: Option<Vec<String>>§starred_lists: Option<Vec<String>>§starred_cards: Option<Vec<String>>§default_board_template_id: Option<String>§default_board_template_board_id: Option<String>§board_views: Option<BTreeMap<String, String>>§show_board_dependencies: Option<bool>§show_my_dependencies: Option<bool>§board_visits: Option<BTreeMap<String, String>>§dismissed_rule_suggestions: Option<BTreeMap<String, Vec<String>>>§date_format_override: Option<bool>§fullname: Option<String>§avatar_url: Option<String>§email_buffer: Option<Vec<Option<String>>>§show_desktop_drag_handles: Option<bool>§left_menu_collapsed: Option<bool>§collapsed_workspaces: Option<BTreeMap<String, bool>>§left_menu_width: Option<Number>§submit_on_enter: Option<bool>§open_many_cards_at_once: Option<bool>§all_boards_theme_tiles: Option<bool>§global_theme_color: Option<String>§global_theme_custom_colors: Option<Vec<Option<String>>>§ui_font: Option<String>§ui_font_size: Option<String>§ui_text_color: Option<String>§ui_text_bg_color: Option<String>§dismissed_announcement_version: Option<String>§card_maximized: Option<bool>§card_collapsed: Option<bool>§show_activities: Option<bool>§custom_fields_grid: Option<bool>§trello_api_saved: Option<bool>§hidden_minicard_label_text: Option<bool>§initials: Option<String>§board_workspaces_tree: Option<Vec<UserWorkspaceNode>>§board_workspace_assignments: Option<BTreeMap<String, String>>§invited_boards: Option<Vec<Option<String>>>§language: Option<String>§map_provider: Option<String>§move_and_copy_dialog: Option<BTreeMap<String, UserDialogOptions>>§move_checklist_dialog: Option<BTreeMap<String, UserDialogOptions>>§copy_checklist_dialog: Option<BTreeMap<String, UserDialogOptions>>§notifications: Option<Vec<UserProfileNotification>>§rescue_card_description: Option<bool>§show_cards_count_at: Option<Number>§start_day_of_week: Option<Number>§starred_boards: Option<Vec<Option<String>>>§starred_pages: Option<Vec<UserProfileStarredPage>>§default_board_id: Option<String>§icode: Option<String>§board_view: Option<String>§list_sort_by: Option<String>§all_boards_sort_by: Option<String>§templates_board_id: Option<String>§card_templates_swimlane_id: Option<String>§list_templates_swimlane_id: Option<String>§board_templates_swimlane_id: Option<String>§sidebar_width: Option<Number>§list_widths: Option<BTreeMap<String, BTreeMap<String, Number>>>§list_constraints: Option<BTreeMap<String, BTreeMap<String, Number>>>§auto_width_boards: Option<BTreeMap<String, bool>>§board_sort_index: Option<BTreeMap<String, Number>>§fixed_list_width_boards: Option<BTreeMap<String, bool>>§fixed_list_widths: Option<BTreeMap<String, Number>>§swimlane_heights: Option<BTreeMap<String, BTreeMap<String, Number>>>§collapsed_lists: Option<BTreeMap<String, BTreeMap<String, bool>>>§collapsed_swimlanes: Option<BTreeMap<String, BTreeMap<String, bool>>>§collapsed_card_sections: Option<BTreeMap<String, BTreeMap<String, bool>>>§keyboard_shortcuts: Option<bool>§vertical_scrollbars: Option<bool>§show_week_of_year: Option<bool>§date_format: Option<String>§mobile_mode: Option<bool>§card_zoom: Option<Number>§calendar_system: Option<String>§collapsed_cards: Option<BTreeMap<String, BTreeMap<String, bool>>>§card_last_views: Option<BTreeMap<String, String>>

Trait Implementations§

Source§

impl Clone for UserProfile

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UserProfile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for UserProfile

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for UserProfile

Source§

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 Eq for UserProfile

Source§

impl PartialEq for UserProfile

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for UserProfile

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> NoneValue for T
where T: Default,

Source§

type NoneType = T

Source§

fn null_value() -> T

The none-equivalent value.
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more