pub struct SlackAppManifestFeaturesShortcut {
pub name: String,
pub callback_id: SlackCallbackId,
pub description: String,
pub ty: SlackShortcutType,
}Fields
name: Stringcallback_id: SlackCallbackIddescription: Stringty: SlackShortcutTypeImplementations
sourceimpl 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
sourceimpl Clone for SlackAppManifestFeaturesShortcut
impl Clone for SlackAppManifestFeaturesShortcut
sourcefn clone(&self) -> SlackAppManifestFeaturesShortcut
fn clone(&self) -> SlackAppManifestFeaturesShortcut
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for SlackAppManifestFeaturesShortcut
impl<'de> Deserialize<'de> for SlackAppManifestFeaturesShortcut
sourcefn 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
sourceimpl From<SlackAppManifestFeaturesShortcutInit> for SlackAppManifestFeaturesShortcut
impl From<SlackAppManifestFeaturesShortcutInit> for SlackAppManifestFeaturesShortcut
sourcefn from(value: SlackAppManifestFeaturesShortcutInit) -> Self
fn from(value: SlackAppManifestFeaturesShortcutInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestFeaturesShortcut> for SlackAppManifestFeaturesShortcut
impl PartialEq<SlackAppManifestFeaturesShortcut> for SlackAppManifestFeaturesShortcut
sourcefn eq(&self, other: &SlackAppManifestFeaturesShortcut) -> bool
fn eq(&self, other: &SlackAppManifestFeaturesShortcut) -> bool
impl StructuralPartialEq for SlackAppManifestFeaturesShortcut
Auto Trait Implementations
impl RefUnwindSafe for SlackAppManifestFeaturesShortcut
impl Send for SlackAppManifestFeaturesShortcut
impl Sync for SlackAppManifestFeaturesShortcut
impl Unpin for SlackAppManifestFeaturesShortcut
impl UnwindSafe for SlackAppManifestFeaturesShortcut
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more