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