pub enum EmbeddedObjectVerb {
AddChart {Show 18 fields
chart_type: String,
domain: String,
series: Vec<String>,
sheet: Option<String>,
title: Option<String>,
subtitle: Option<String>,
legend: Option<String>,
stacked: Option<String>,
header_count: Option<i64>,
horizontal_axis_title: Option<String>,
vertical_axis_title: Option<String>,
pie_hole: Option<f64>,
anchor: Option<String>,
offset_x: Option<i64>,
offset_y: Option<i64>,
width: Option<i64>,
height: Option<i64>,
new_sheet: bool,
},
UpdateChart {Show 13 fields
chart_id: i64,
chart_type: Option<String>,
domain: Option<String>,
series: Vec<String>,
sheet: Option<String>,
title: Option<String>,
subtitle: Option<String>,
legend: Option<String>,
stacked: Option<String>,
header_count: Option<i64>,
horizontal_axis_title: Option<String>,
vertical_axis_title: Option<String>,
pie_hole: Option<f64>,
},
DeleteChart {
chart_id: i64,
},
AddSlicer {
sheet: Option<String>,
range: String,
column: i64,
hide_values: Vec<String>,
title: Option<String>,
apply_to_pivot_tables: Option<bool>,
anchor: String,
offset_x: Option<i64>,
offset_y: Option<i64>,
width: Option<i64>,
height: Option<i64>,
},
UpdateSlicer {
slicer_id: i64,
sheet: Option<String>,
range: Option<String>,
column: Option<i64>,
hide_values: Vec<String>,
clear_criteria: bool,
title: Option<String>,
apply_to_pivot_tables: Option<bool>,
},
DeleteSlicer {
slicer_id: i64,
},
MoveChart {
chart_id: i64,
sheet: Option<String>,
anchor: Option<String>,
offset_x: Option<i64>,
offset_y: Option<i64>,
width: Option<i64>,
height: Option<i64>,
new_sheet: bool,
},
MoveSlicer {
slicer_id: i64,
sheet: Option<String>,
anchor: Option<String>,
offset_x: Option<i64>,
offset_y: Option<i64>,
width: Option<i64>,
height: Option<i64>,
},
UpdateChartBorder {
chart_id: i64,
color: Option<String>,
clear: bool,
},
}Expand description
Which mutation to perform.
Variants§
AddChart
Add a chart.
Fields
series: Vec<String>The data series ranges — exactly one for a pie chart, one or more for a basic chart.
sheet: Option<String>Sheet title, supplying the prefix for domain/series/
anchor when they don’t carry their own.
UpdateChart
Replace an existing chart’s spec.
Fields
chart_type: Option<String>Change the chart’s type, when set. Refused if it would switch between a basic chart and a pie chart.
sheet: Option<String>Sheet title, supplying the prefix for domain/series when
they don’t carry their own.
DeleteChart
Remove a chart.
AddSlicer
Add a slicer.
Fields
sheet: Option<String>Sheet title, supplying the prefix for range/anchor when
they don’t carry their own.
UpdateSlicer
Change an existing slicer’s range, filter column/criteria, title, or pivot-table linkage.
Fields
DeleteSlicer
Remove a slicer.
MoveChart
Move and/or resize an existing chart (issue #1837).
Fields
MoveSlicer
Move and/or resize an existing slicer (issue #1837). No own-sheet placement — a slicer can only ever be an overlay.
Fields
UpdateChartBorder
Set or clear a chart’s border colour (issue #1837).
Trait Implementations§
Source§impl Clone for EmbeddedObjectVerb
impl Clone for EmbeddedObjectVerb
Source§impl Debug for EmbeddedObjectVerb
impl Debug for EmbeddedObjectVerb
Source§impl PartialEq for EmbeddedObjectVerb
impl PartialEq for EmbeddedObjectVerb
impl StructuralPartialEq for EmbeddedObjectVerb
Auto Trait Implementations§
impl Freeze for EmbeddedObjectVerb
impl RefUnwindSafe for EmbeddedObjectVerb
impl Send for EmbeddedObjectVerb
impl Sync for EmbeddedObjectVerb
impl Unpin for EmbeddedObjectVerb
impl UnsafeUnpin for EmbeddedObjectVerb
impl UnwindSafe for EmbeddedObjectVerb
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more