pub struct SlackAppManifestFeaturesShortcut {
pub name: String,
pub callback_id: SlackCallbackId,
pub description: String,
pub ty: SlackShortcutType,
}
Fields§
§name: String
§callback_id: SlackCallbackId
§description: String
§ty: SlackShortcutType
Implementations§
Source§impl SlackAppManifestFeaturesShortcut
impl SlackAppManifestFeaturesShortcut
pub fn new( name: String, callback_id: SlackCallbackId, description: String, ty: SlackShortcutType, ) -> Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn with_name(self, value: String) -> Self
pub fn callback_id(&mut self, value: SlackCallbackId) -> &mut Self
pub fn with_callback_id(self, value: SlackCallbackId) -> Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn with_description(self, value: String) -> Self
pub fn ty(&mut self, value: SlackShortcutType) -> &mut Self
pub fn with_ty(self, value: SlackShortcutType) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifestFeaturesShortcut
impl Clone for SlackAppManifestFeaturesShortcut
Source§fn clone(&self) -> SlackAppManifestFeaturesShortcut
fn clone(&self) -> SlackAppManifestFeaturesShortcut
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<'de> Deserialize<'de> for SlackAppManifestFeaturesShortcut
impl<'de> Deserialize<'de> for SlackAppManifestFeaturesShortcut
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<SlackAppManifestFeaturesShortcutInit> for SlackAppManifestFeaturesShortcut
impl From<SlackAppManifestFeaturesShortcutInit> for SlackAppManifestFeaturesShortcut
Source§fn from(value: SlackAppManifestFeaturesShortcutInit) -> Self
fn from(value: SlackAppManifestFeaturesShortcutInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifestFeaturesShortcut
impl PartialEq for SlackAppManifestFeaturesShortcut
Source§fn eq(&self, other: &SlackAppManifestFeaturesShortcut) -> bool
fn eq(&self, other: &SlackAppManifestFeaturesShortcut) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestFeaturesShortcut
Auto Trait Implementations§
impl Freeze for SlackAppManifestFeaturesShortcut
impl RefUnwindSafe for SlackAppManifestFeaturesShortcut
impl Send for SlackAppManifestFeaturesShortcut
impl Sync for SlackAppManifestFeaturesShortcut
impl Unpin for SlackAppManifestFeaturesShortcut
impl UnwindSafe for SlackAppManifestFeaturesShortcut
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
)