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
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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