[][src]Struct slack_morphism_models::blocks::SlackActionsBlock

pub struct SlackActionsBlock {
    pub block_id: Option<SlackBlockId>,
    pub elements: Vec<SlackActionBlockElement>,
}

Fields

block_id: Option<SlackBlockId>elements: Vec<SlackActionBlockElement>

Implementations

impl SlackActionsBlock[src]

pub fn new(elements: Vec<SlackActionBlockElement>) -> Self[src]

pub fn block_id(&mut self, value: SlackBlockId) -> &mut Self[src]

pub fn reset_block_id(&mut self) -> &mut Self[src]

pub fn mopt_block_id(&mut self, value: Option<SlackBlockId>) -> &mut Self[src]

pub fn with_block_id(self, value: SlackBlockId) -> Self[src]

pub fn without_block_id(self) -> Self[src]

pub fn opt_block_id(self, value: Option<SlackBlockId>) -> Self[src]

pub fn elements(&mut self, value: Vec<SlackActionBlockElement>) -> &mut Self[src]

pub fn with_elements(self, value: Vec<SlackActionBlockElement>) -> Self[src]

Trait Implementations

impl Clone for SlackActionsBlock[src]

impl Debug for SlackActionsBlock[src]

impl<'de> Deserialize<'de> for SlackActionsBlock[src]

impl From<SlackActionsBlock> for SlackBlock[src]

impl From<SlackActionsBlockInit> for SlackActionsBlock[src]

impl PartialEq<SlackActionsBlock> for SlackActionsBlock[src]

impl Serialize for SlackActionsBlock[src]

impl StructuralPartialEq for SlackActionsBlock[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.