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