pub struct ActionBlockBuilder {
pub elements: Vec<BlockElement>,
pub block_id: Option<String>,
}Fields§
§elements: Vec<BlockElement>§block_id: Option<String>Implementations§
Source§impl ActionBlockBuilder
impl ActionBlockBuilder
pub fn new(elements: Vec<BlockElement>) -> ActionBlockBuilder
pub fn block_id(self, block_id: String) -> ActionBlockBuilder
pub fn build(self) -> ActionBlock
Trait Implementations§
Source§impl Debug for ActionBlockBuilder
impl Debug for ActionBlockBuilder
Source§impl Default for ActionBlockBuilder
impl Default for ActionBlockBuilder
Source§fn default() -> ActionBlockBuilder
fn default() -> ActionBlockBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActionBlockBuilder
impl RefUnwindSafe for ActionBlockBuilder
impl Send for ActionBlockBuilder
impl Sync for ActionBlockBuilder
impl Unpin for ActionBlockBuilder
impl UnwindSafe for ActionBlockBuilder
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