pub enum TasklistIcon {
Default {
index: i32,
},
Emoji {
emoji: String,
},
Image {
image_key: String,
},
}Expand description
任务清单图标
Variants§
Trait Implementations§
Source§impl Clone for TasklistIcon
impl Clone for TasklistIcon
Source§fn clone(&self) -> TasklistIcon
fn clone(&self) -> TasklistIcon
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 TasklistIcon
impl Debug for TasklistIcon
Source§impl<'de> Deserialize<'de> for TasklistIcon
impl<'de> Deserialize<'de> for TasklistIcon
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 TasklistIcon
impl PartialEq for TasklistIcon
Source§fn eq(&self, other: &TasklistIcon) -> bool
fn eq(&self, other: &TasklistIcon) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TasklistIcon
impl Serialize for TasklistIcon
impl StructuralPartialEq for TasklistIcon
Auto Trait Implementations§
impl Freeze for TasklistIcon
impl RefUnwindSafe for TasklistIcon
impl Send for TasklistIcon
impl Sync for TasklistIcon
impl Unpin for TasklistIcon
impl UnsafeUnpin for TasklistIcon
impl UnwindSafe for TasklistIcon
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