pub struct FeishuCardButton { /* private fields */ }Implementations§
Source§impl FeishuCardButton
impl FeishuCardButton
pub fn new() -> Self
pub fn size(self, size: &str) -> Self
pub fn width(self, width: &str) -> Self
pub fn text(self, text: PlainText) -> Self
pub fn icon(self, icon: FeishuCardTextIcon) -> Self
pub fn hover_tips(self, hover_tips: PlainText) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn disabled_tips(self, disabled_tips: PlainText) -> Self
pub fn confirm(self, confirm: InputConfirm) -> Self
pub fn behaviors(self, behaviors: Vec<Behaviors>) -> Self
pub fn name(self, name: &str) -> Self
pub fn required(self, required: bool) -> Self
pub fn action_type(self, action_type: &str) -> Self
Trait Implementations§
Source§impl Debug for FeishuCardButton
impl Debug for FeishuCardButton
Source§impl Default for FeishuCardButton
impl Default for FeishuCardButton
Source§impl<'de> Deserialize<'de> for FeishuCardButton
impl<'de> Deserialize<'de> for FeishuCardButton
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
Auto Trait Implementations§
impl Freeze for FeishuCardButton
impl RefUnwindSafe for FeishuCardButton
impl Send for FeishuCardButton
impl Sync for FeishuCardButton
impl Unpin for FeishuCardButton
impl UnwindSafe for FeishuCardButton
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