Struct open_lark::card::components::interactive_components::input::FeishuCardInput
source · pub struct FeishuCardInput { /* private fields */ }Expand description
输入框组件
Implementations§
source§impl FeishuCardInput
impl FeishuCardInput
pub fn new() -> Self
pub fn name(self, name: &str) -> Self
pub fn required(self, required: bool) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn placeholder(self, placeholder: PlainText) -> Self
pub fn default_value(self, default_value: &str) -> Self
pub fn width(self, width: &str) -> Self
pub fn max_length(self, max_length: u32) -> Self
pub fn label(self, label: PlainText) -> Self
pub fn label_position(self, label_position: &str) -> Self
pub fn value(self, value: Value) -> Self
pub fn confirm(self, confirm: InputConfirm) -> Self
pub fn fallback(self, fallback: InputFallback) -> Self
pub fn build(self) -> FeishuCardInput
Trait Implementations§
source§impl Debug for FeishuCardInput
impl Debug for FeishuCardInput
source§impl Default for FeishuCardInput
impl Default for FeishuCardInput
source§impl<'de> Deserialize<'de> for FeishuCardInput
impl<'de> Deserialize<'de> for FeishuCardInput
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 FeishuCardInput
impl RefUnwindSafe for FeishuCardInput
impl Send for FeishuCardInput
impl Sync for FeishuCardInput
impl Unpin for FeishuCardInput
impl UnwindSafe for FeishuCardInput
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