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