pub struct UpowerLottery {
pub button: UpowerLotteryButton,
pub desc: UpowerLotteryDesc,
pub hint: UpowerLotteryHint,
pub jump_url: String,
pub rid: i64,
pub state: i64,
pub title: String,
pub up_mid: i64,
pub upower_action_state: i64,
pub upower_level: i64,
}Fields§
按钮
desc: UpowerLotteryDesc描述
hint: UpowerLotteryHint提示
jump_url: String跳转 URL
rid: i64关联 id
state: i64状态
title: String标题
up_mid: i64UP 主 mid (UID)
upower_action_state: i64充电操作状态
upower_level: i64充电级别
Trait Implementations§
Source§impl Clone for UpowerLottery
impl Clone for UpowerLottery
Source§fn clone(&self) -> UpowerLottery
fn clone(&self) -> UpowerLottery
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 UpowerLottery
impl Debug for UpowerLottery
Source§impl Default for UpowerLottery
impl Default for UpowerLottery
Source§fn default() -> UpowerLottery
fn default() -> UpowerLottery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpowerLottery
impl<'de> Deserialize<'de> for UpowerLottery
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 UpowerLottery
impl PartialEq for UpowerLottery
Source§impl Serialize for UpowerLottery
impl Serialize for UpowerLottery
impl StructuralPartialEq for UpowerLottery
Auto Trait Implementations§
impl Freeze for UpowerLottery
impl RefUnwindSafe for UpowerLottery
impl Send for UpowerLottery
impl Sync for UpowerLottery
impl Unpin for UpowerLottery
impl UnsafeUnpin for UpowerLottery
impl UnwindSafe for UpowerLottery
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