pub struct SlackPieChartInit {
pub segments: Vec<SlackChartSegment>,
}Expand description
Required fields of SlackPieChart; convert with SlackPieChart::from or .into().
Fields§
§segments: Vec<SlackChartSegment>Value for the segments field of SlackPieChart.
Trait Implementations§
Source§impl From<SlackPieChartInit> for SlackPieChart
impl From<SlackPieChartInit> for SlackPieChart
Source§fn from(value: SlackPieChartInit) -> Self
fn from(value: SlackPieChartInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackPieChartInit
impl RefUnwindSafe for SlackPieChartInit
impl Send for SlackPieChartInit
impl Sync for SlackPieChartInit
impl Unpin for SlackPieChartInit
impl UnsafeUnpin for SlackPieChartInit
impl UnwindSafe for SlackPieChartInit
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