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