pub struct CardLabel {Show 14 fields
pub rpid: u64,
pub text_content: String,
pub text_color_day: String,
pub text_color_night: String,
pub label_color_day: String,
pub label_color_night: String,
pub image: Option<String>,
pub type: Option<u64>,
pub background: Option<String>,
pub background_width: Option<u64>,
pub background_height: Option<u64>,
pub jump_url: Option<String>,
pub effect: Option<u64>,
pub effect_start_time: Option<u64>,
}Expand description
卡片标签信息
Fields§
§rpid: u64§text_content: String§text_color_day: String§text_color_night: String§label_color_day: String§label_color_night: String§image: Option<String>§type: Option<u64>§background: Option<String>§background_width: Option<u64>§background_height: Option<u64>§jump_url: Option<String>§effect: Option<u64>§effect_start_time: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CardLabel
impl<'de> Deserialize<'de> for CardLabel
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 CardLabel
impl RefUnwindSafe for CardLabel
impl Send for CardLabel
impl Sync for CardLabel
impl Unpin for CardLabel
impl UnwindSafe for CardLabel
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