[−][src]Struct google_sheets4::OrgChartSpec
An org chart. Org charts require a unique set of labels in labels and may optionally include parent_labels and tooltips. parent_labels contain, for each node, the label identifying the parent node. tooltips contain, for each node, an optional tooltip.
For example, to describe an OrgChart with Alice as the CEO, Bob as the President (reporting to Alice) and Cathy as VP of Sales (also reporting to Alice), have labels contain "Alice", "Bob", "Cathy", parent_labels contain "", "Alice", "Alice" and tooltips contain "CEO", "President", "VP Sales".
This type is not used in any activity, and only used as part of another schema.
Fields
tooltips: Option<ChartData>
The data containing the tooltip for the corresponding node. A blank value results in no tooltip being displayed for the node. This field is optional.
parent_labels: Option<ChartData>
The data containing the label of the parent for the corresponding node. A blank value indicates that the node has no parent and is a top-level node. This field is optional.
node_color: Option<Color>
The color of the org chart nodes.
labels: Option<ChartData>
The data containing the labels for all the nodes in the chart. Labels must be unique.
selected_node_color: Option<Color>
The color of the selected org chart nodes.
node_color_style: Option<ColorStyle>
The color of the org chart nodes. If node_color is also set, this field takes precedence.
selected_node_color_style: Option<ColorStyle>
The color of the selected org chart nodes. If selected_node_color is also set, this field takes precedence.
node_size: Option<String>
The size of the org chart nodes.
Trait Implementations
impl Clone for OrgChartSpec
[src]
fn clone(&self) -> OrgChartSpec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OrgChartSpec
[src]
impl Default for OrgChartSpec
[src]
fn default() -> OrgChartSpec
[src]
impl<'de> Deserialize<'de> for OrgChartSpec
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for OrgChartSpec
[src]
impl Serialize for OrgChartSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for OrgChartSpec
impl Send for OrgChartSpec
impl Sync for OrgChartSpec
impl Unpin for OrgChartSpec
impl UnwindSafe for OrgChartSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,