pub struct SlackBlockFeedbackButtonsElement {
pub action_id: SlackActionId,
pub positive: SlackFeedbackButtonItem,
pub negative: SlackFeedbackButtonItem,
}Fields§
§action_id: SlackActionId§positive: SlackFeedbackButtonItem§negative: SlackFeedbackButtonItemImplementations§
Source§impl SlackBlockFeedbackButtonsElement
impl SlackBlockFeedbackButtonsElement
pub fn new( action_id: SlackActionId, positive: SlackFeedbackButtonItem, negative: SlackFeedbackButtonItem, ) -> Self
pub fn action_id(&mut self, value: SlackActionId) -> &mut Self
pub fn with_action_id(self, value: SlackActionId) -> Self
pub fn positive(&mut self, value: SlackFeedbackButtonItem) -> &mut Self
pub fn with_positive(self, value: SlackFeedbackButtonItem) -> Self
pub fn negative(&mut self, value: SlackFeedbackButtonItem) -> &mut Self
pub fn with_negative(self, value: SlackFeedbackButtonItem) -> Self
Trait Implementations§
Source§impl Clone for SlackBlockFeedbackButtonsElement
impl Clone for SlackBlockFeedbackButtonsElement
Source§fn clone(&self) -> SlackBlockFeedbackButtonsElement
fn clone(&self) -> SlackBlockFeedbackButtonsElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackBlockFeedbackButtonsElement
impl<'de> Deserialize<'de> for SlackBlockFeedbackButtonsElement
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<SlackBlockFeedbackButtonsElement> for SlackContextActionBlockElement
impl From<SlackBlockFeedbackButtonsElement> for SlackContextActionBlockElement
Source§fn from(element: SlackBlockFeedbackButtonsElement) -> Self
fn from(element: SlackBlockFeedbackButtonsElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackBlockFeedbackButtonsElementInit> for SlackBlockFeedbackButtonsElement
impl From<SlackBlockFeedbackButtonsElementInit> for SlackBlockFeedbackButtonsElement
Source§fn from(value: SlackBlockFeedbackButtonsElementInit) -> Self
fn from(value: SlackBlockFeedbackButtonsElementInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackBlockFeedbackButtonsElement
Auto Trait Implementations§
impl Freeze for SlackBlockFeedbackButtonsElement
impl RefUnwindSafe for SlackBlockFeedbackButtonsElement
impl Send for SlackBlockFeedbackButtonsElement
impl Sync for SlackBlockFeedbackButtonsElement
impl Unpin for SlackBlockFeedbackButtonsElement
impl UnsafeUnpin for SlackBlockFeedbackButtonsElement
impl UnwindSafe for SlackBlockFeedbackButtonsElement
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