pub struct EmbeddedObjectSummary {
pub object_id: i64,
pub kind: String,
pub chart_type: Option<String>,
pub title: Option<String>,
pub position: String,
pub border: Option<String>,
}Expand description
A chart or slicer’s identifying details, as reported in a preview or a completed result — the “type, title or id, anchor position” ADR-0081 §3 requires before an unrecoverable delete.
Fields§
§object_id: i64The object’s stable id.
kind: String"chart" or "slicer".
chart_type: Option<String>The chart type ("COLUMN", "PIE", …). None for a slicer.
title: Option<String>The object’s title, if it has one.
position: StringA human-readable rendering of where the object is anchored.
border: Option<String>The chart’s existing border colour, as #RRGGBB. None for a
slicer (no border field on the wire) or a chart with no border set.
Lets update-chart-border’s preview report the colour about to be
replaced or cleared (issue #1837).
Trait Implementations§
Source§impl Clone for EmbeddedObjectSummary
impl Clone for EmbeddedObjectSummary
Source§impl Debug for EmbeddedObjectSummary
impl Debug for EmbeddedObjectSummary
impl Eq for EmbeddedObjectSummary
Source§impl PartialEq for EmbeddedObjectSummary
impl PartialEq for EmbeddedObjectSummary
Source§impl Serialize for EmbeddedObjectSummary
impl Serialize for EmbeddedObjectSummary
impl StructuralPartialEq for EmbeddedObjectSummary
Auto Trait Implementations§
impl Freeze for EmbeddedObjectSummary
impl RefUnwindSafe for EmbeddedObjectSummary
impl Send for EmbeddedObjectSummary
impl Sync for EmbeddedObjectSummary
impl Unpin for EmbeddedObjectSummary
impl UnsafeUnpin for EmbeddedObjectSummary
impl UnwindSafe for EmbeddedObjectSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Converts
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> ⓘ
Converts
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