pub struct FeedbackButton {
pub text: TextObject,
pub value: String,
pub accessibility_label: Option<String>,
}Expand description
One of the feedback buttons. https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element
Fields§
§text: TextObject§value: String§accessibility_label: Option<String>Implementations§
Source§impl FeedbackButton
impl FeedbackButton
pub fn new(text: impl Into<TextObject>, value: impl Into<String>) -> Self
pub fn accessibility_label(self, accessibility_label: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for FeedbackButton
impl Clone for FeedbackButton
Source§impl Debug for FeedbackButton
impl Debug for FeedbackButton
Source§impl<'de> Deserialize<'de> for FeedbackButton
impl<'de> Deserialize<'de> for FeedbackButton
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 PartialEq for FeedbackButton
impl PartialEq for FeedbackButton
Source§impl Serialize for FeedbackButton
impl Serialize for FeedbackButton
impl StructuralPartialEq for FeedbackButton
Auto Trait Implementations§
impl Freeze for FeedbackButton
impl RefUnwindSafe for FeedbackButton
impl Send for FeedbackButton
impl Sync for FeedbackButton
impl Unpin for FeedbackButton
impl UnsafeUnpin for FeedbackButton
impl UnwindSafe for FeedbackButton
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