#[non_exhaustive]pub struct SnapshotFileSheetSelection {
pub sheet_id: Option<String>,
pub selection_scope: Option<SnapshotFileSheetSelectionScope>,
pub visual_ids: Option<Vec<String>>,
}Expand description
A structure that contains information that identifies the snapshot that needs to be generated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sheet_id: Option<String>The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF format types.
selection_scope: Option<SnapshotFileSheetSelectionScope>The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
-
ALL_VISUALS- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. -
SELECTED_VISUALS- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV.
visual_ids: Option<Vec<String>>A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID.
Implementations§
source§impl SnapshotFileSheetSelection
impl SnapshotFileSheetSelection
sourcepub fn sheet_id(&self) -> Option<&str>
pub fn sheet_id(&self) -> Option<&str>
The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF format types.
sourcepub fn selection_scope(&self) -> Option<&SnapshotFileSheetSelectionScope>
pub fn selection_scope(&self) -> Option<&SnapshotFileSheetSelectionScope>
The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
-
ALL_VISUALS- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. -
SELECTED_VISUALS- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV.
sourcepub fn visual_ids(&self) -> Option<&[String]>
pub fn visual_ids(&self) -> Option<&[String]>
A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID.
source§impl SnapshotFileSheetSelection
impl SnapshotFileSheetSelection
sourcepub fn builder() -> SnapshotFileSheetSelectionBuilder
pub fn builder() -> SnapshotFileSheetSelectionBuilder
Creates a new builder-style object to manufacture SnapshotFileSheetSelection.
Trait Implementations§
source§impl Clone for SnapshotFileSheetSelection
impl Clone for SnapshotFileSheetSelection
source§fn clone(&self) -> SnapshotFileSheetSelection
fn clone(&self) -> SnapshotFileSheetSelection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SnapshotFileSheetSelection
impl Debug for SnapshotFileSheetSelection
source§impl PartialEq<SnapshotFileSheetSelection> for SnapshotFileSheetSelection
impl PartialEq<SnapshotFileSheetSelection> for SnapshotFileSheetSelection
source§fn eq(&self, other: &SnapshotFileSheetSelection) -> bool
fn eq(&self, other: &SnapshotFileSheetSelection) -> bool
self and other values to be equal, and is used
by ==.