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