pub struct ViewPreferences {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub type: Option<String>,
pub view_type: Option<String>,
pub preferences: Option<ViewPreferencesValues>,
}Expand description
The display preferences for a view, controlling layout mode (list, board, spreadsheet), grouping, sorting, column visibility, and other visual settings. View preferences exist at two levels: organization-wide defaults and per-user overrides. The effective preferences are computed by merging both layers, with user preferences taking priority.
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.
type: Option<String>The type of view preferences: “organization” for workspace-wide defaults or “user” for personal overrides.
view_type: Option<String>The type of view these preferences apply to, such as board, cycle, project, customView, myIssues, etc.
preferences: Option<ViewPreferencesValues>The view preferences values, containing layout, grouping, sorting, and field visibility settings.
Trait Implementations§
Source§impl Clone for ViewPreferences
impl Clone for ViewPreferences
Source§fn clone(&self) -> ViewPreferences
fn clone(&self) -> ViewPreferences
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more