pub struct SlackAppManifestFeaturesWorkflowStep {
pub name: String,
pub callback_id: SlackCallbackId,
}Fields§
§name: String§callback_id: SlackCallbackIdImplementations§
Source§impl SlackAppManifestFeaturesWorkflowStep
impl SlackAppManifestFeaturesWorkflowStep
Sourcepub fn new(name: String, callback_id: SlackCallbackId) -> Self
pub fn new(name: String, callback_id: SlackCallbackId) -> Self
Creates a new SlackAppManifestFeaturesWorkflowStep from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn callback_id(&mut self, value: SlackCallbackId) -> &mut Self
pub fn callback_id(&mut self, value: SlackCallbackId) -> &mut Self
Sets callback_id to value.
Sourcepub fn with_callback_id(self, value: SlackCallbackId) -> Self
pub fn with_callback_id(self, value: SlackCallbackId) -> Self
Returns self with callback_id set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackAppManifestFeaturesWorkflowStep
impl<'de> Deserialize<'de> for SlackAppManifestFeaturesWorkflowStep
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<SlackAppManifestFeaturesWorkflowStepInit> for SlackAppManifestFeaturesWorkflowStep
impl From<SlackAppManifestFeaturesWorkflowStepInit> for SlackAppManifestFeaturesWorkflowStep
Source§fn from(value: SlackAppManifestFeaturesWorkflowStepInit) -> Self
fn from(value: SlackAppManifestFeaturesWorkflowStepInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackAppManifestFeaturesWorkflowStep
Auto Trait Implementations§
impl Freeze for SlackAppManifestFeaturesWorkflowStep
impl RefUnwindSafe for SlackAppManifestFeaturesWorkflowStep
impl Send for SlackAppManifestFeaturesWorkflowStep
impl Sync for SlackAppManifestFeaturesWorkflowStep
impl Unpin for SlackAppManifestFeaturesWorkflowStep
impl UnsafeUnpin for SlackAppManifestFeaturesWorkflowStep
impl UnwindSafe for SlackAppManifestFeaturesWorkflowStep
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