pub struct Buttons { /* private fields */ }Expand description
勾选器配置按钮
Implementations§
Source§impl Buttons
impl Buttons
pub fn new(type: &str) -> Self
pub fn type(self, type: &str) -> Self
pub fn size(self, size: &str) -> Self
pub fn text(self, text: PlainText) -> Self
pub fn icon(self, icon: FeishuCardTextIcon) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn behaviors(self, behaviors: Vec<Behaviors>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Buttons
impl<'de> Deserialize<'de> for Buttons
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 Buttons
impl RefUnwindSafe for Buttons
impl Send for Buttons
impl Sync for Buttons
impl Unpin for Buttons
impl UnwindSafe for Buttons
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