pub struct ThreePointItem {
pub label: String,
pub modal: Option<Modal>,
pub params: Option<Params>,
pub type_field: String,
}Fields§
§label: String显示文本
modal: Option<Modal>弹出框文本
params: Option<Params>§参数信息
type_field: String三点操作类型,参见 右上角三点菜单
Trait Implementations§
Source§impl Clone for ThreePointItem
impl Clone for ThreePointItem
Source§fn clone(&self) -> ThreePointItem
fn clone(&self) -> ThreePointItem
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 Debug for ThreePointItem
impl Debug for ThreePointItem
Source§impl Default for ThreePointItem
impl Default for ThreePointItem
Source§fn default() -> ThreePointItem
fn default() -> ThreePointItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreePointItem
impl<'de> Deserialize<'de> for ThreePointItem
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 ThreePointItem
impl PartialEq for ThreePointItem
Source§impl Serialize for ThreePointItem
impl Serialize for ThreePointItem
impl StructuralPartialEq for ThreePointItem
Auto Trait Implementations§
impl Freeze for ThreePointItem
impl RefUnwindSafe for ThreePointItem
impl Send for ThreePointItem
impl Sync for ThreePointItem
impl Unpin for ThreePointItem
impl UnsafeUnpin for ThreePointItem
impl UnwindSafe for ThreePointItem
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