pub struct SlackAppHomeOpenedEvent {
pub user: SlackUserId,
pub channel: SlackChannelId,
pub tab: String,
pub view: Option<SlackView>,
}
Fields§
§user: SlackUserId
§channel: SlackChannelId
§tab: String
§view: Option<SlackView>
Implementations§
Source§impl SlackAppHomeOpenedEvent
impl SlackAppHomeOpenedEvent
pub fn new(user: SlackUserId, channel: SlackChannelId, tab: String) -> Self
pub fn user(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user(self, value: SlackUserId) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn tab(&mut self, value: String) -> &mut Self
pub fn with_tab(self, value: String) -> Self
pub fn view(&mut self, value: SlackView) -> &mut Self
pub fn reset_view(&mut self) -> &mut Self
pub fn mopt_view(&mut self, value: Option<SlackView>) -> &mut Self
pub fn with_view(self, value: SlackView) -> Self
pub fn without_view(self) -> Self
pub fn opt_view(self, value: Option<SlackView>) -> Self
Trait Implementations§
Source§impl Clone for SlackAppHomeOpenedEvent
impl Clone for SlackAppHomeOpenedEvent
Source§fn clone(&self) -> SlackAppHomeOpenedEvent
fn clone(&self) -> SlackAppHomeOpenedEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SlackAppHomeOpenedEvent
impl Debug for SlackAppHomeOpenedEvent
Source§impl<'de> Deserialize<'de> for SlackAppHomeOpenedEvent
impl<'de> Deserialize<'de> for SlackAppHomeOpenedEvent
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<SlackAppHomeOpenedEventInit> for SlackAppHomeOpenedEvent
impl From<SlackAppHomeOpenedEventInit> for SlackAppHomeOpenedEvent
Source§fn from(value: SlackAppHomeOpenedEventInit) -> Self
fn from(value: SlackAppHomeOpenedEventInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppHomeOpenedEvent
impl PartialEq for SlackAppHomeOpenedEvent
Source§impl Serialize for SlackAppHomeOpenedEvent
impl Serialize for SlackAppHomeOpenedEvent
impl StructuralPartialEq for SlackAppHomeOpenedEvent
Auto Trait Implementations§
impl Freeze for SlackAppHomeOpenedEvent
impl RefUnwindSafe for SlackAppHomeOpenedEvent
impl Send for SlackAppHomeOpenedEvent
impl Sync for SlackAppHomeOpenedEvent
impl Unpin for SlackAppHomeOpenedEvent
impl UnwindSafe for SlackAppHomeOpenedEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)