pub struct UpdateSavedView {
pub name: Option<String>,
pub show_on_dashboard: Option<bool>,
pub show_in_sidebar: Option<bool>,
pub sort_field: Option<Option<String>>,
pub sort_reverse: Option<Option<bool>>,
pub filter_rules: Option<Option<Vec<FilterRule>>>,
pub display_mode: Option<Option<DisplayMode>>,
pub display_fields: Option<Option<Vec<String>>>,
pub page_size: Option<Option<u32>>,
}Fields§
§name: Option<String>The name of the saved view.
show_on_dashboard: Option<bool>Whether the saved view should be shown on the dashboard.
Whether the saved view should be shown in the sidebar.
sort_field: Option<Option<String>>The field to sort the view by.
sort_reverse: Option<Option<bool>>Whether to sort the view in reverse order.
filter_rules: Option<Option<Vec<FilterRule>>>The filter rules determining which documents are shown in the view.
display_mode: Option<Option<DisplayMode>>The display mode of the view.
display_fields: Option<Option<Vec<String>>>The fields to display in the view.
page_size: Option<Option<u32>>The number of documents to show per page.
Trait Implementations§
Source§impl Clone for UpdateSavedView
impl Clone for UpdateSavedView
Source§fn clone(&self) -> UpdateSavedView
fn clone(&self) -> UpdateSavedView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateSavedView
impl Debug for UpdateSavedView
Source§impl Default for UpdateSavedView
impl Default for UpdateSavedView
Source§fn default() -> UpdateSavedView
fn default() -> UpdateSavedView
Returns the “default value” for a type. Read more
Source§impl Serialize for UpdateSavedView
impl Serialize for UpdateSavedView
impl UpdateDtoObject for UpdateSavedView
Auto Trait Implementations§
impl Freeze for UpdateSavedView
impl RefUnwindSafe for UpdateSavedView
impl Send for UpdateSavedView
impl Sync for UpdateSavedView
impl Unpin for UpdateSavedView
impl UnsafeUnpin for UpdateSavedView
impl UnwindSafe for UpdateSavedView
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