pub struct Controller {Show 15 fields
pub base_object: BaseObject,
pub level: i32,
pub progress: Option<i32>,
pub progress_total: Option<i32>,
pub user: Option<String>,
pub downgrade_time: Option<u64>,
pub safe_mode: Option<i32>,
pub safe_mode_available: Option<i32>,
pub safe_mode_cooldown: Option<i64>,
pub upgrade_blocked: Option<i32>,
pub downgrade_blocked: Option<i32>,
pub reservation: Option<Reservation>,
pub sign: Option<Sign>,
pub is_power_enabled: Option<bool>,
pub effects: Option<HashMap<String, Effect>>,
}Expand description
Controller 对象
Fields§
§base_object: BaseObject§level: i32§progress: Option<i32>§progress_total: Option<i32>§user: Option<String>§downgrade_time: Option<u64>§safe_mode: Option<i32>§safe_mode_available: Option<i32>§safe_mode_cooldown: Option<i64>§upgrade_blocked: Option<i32>§downgrade_blocked: Option<i32>§reservation: Option<Reservation>§sign: Option<Sign>§is_power_enabled: Option<bool>§effects: Option<HashMap<String, Effect>>key 为 effect id
Trait Implementations§
Source§impl Debug for Controller
impl Debug for Controller
Source§impl<'de> Deserialize<'de> for Controller
impl<'de> Deserialize<'de> for Controller
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 Controller
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnwindSafe for Controller
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