pub struct SlackInteractionActionViewContainer {
pub view_id: SlackViewId,
}Fields§
§view_id: SlackViewIdImplementations§
Source§impl SlackInteractionActionViewContainer
impl SlackInteractionActionViewContainer
Sourcepub fn new(view_id: SlackViewId) -> Self
pub fn new(view_id: SlackViewId) -> Self
Creates a new SlackInteractionActionViewContainer from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn view_id(&mut self, value: SlackViewId) -> &mut Self
pub fn view_id(&mut self, value: SlackViewId) -> &mut Self
Sets view_id to value.
Sourcepub fn with_view_id(self, value: SlackViewId) -> Self
pub fn with_view_id(self, value: SlackViewId) -> Self
Returns self with view_id set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackInteractionActionViewContainer
impl<'de> Deserialize<'de> for SlackInteractionActionViewContainer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackInteractionActionViewContainerInit> for SlackInteractionActionViewContainer
impl From<SlackInteractionActionViewContainerInit> for SlackInteractionActionViewContainer
Source§fn from(value: SlackInteractionActionViewContainerInit) -> Self
fn from(value: SlackInteractionActionViewContainerInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackInteractionActionViewContainer
Auto Trait Implementations§
impl Freeze for SlackInteractionActionViewContainer
impl RefUnwindSafe for SlackInteractionActionViewContainer
impl Send for SlackInteractionActionViewContainer
impl Sync for SlackInteractionActionViewContainer
impl Unpin for SlackInteractionActionViewContainer
impl UnsafeUnpin for SlackInteractionActionViewContainer
impl UnwindSafe for SlackInteractionActionViewContainer
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