pub struct Cfg {Show 17 fields
pub rev: Option<Vec<u32>>,
pub vid: Option<u64>,
pub id: Option<Id>,
pub nw: Option<Nw>,
pub eth: Option<Eth>,
pub ap: Option<Ap>,
pub wifi: Option<Wifi>,
pub hw: Option<Hw>,
pub light: Option<Light>,
pub def: Option<Def>,
pub if_field: Option<If2>,
pub remote: Option<Remote>,
pub ol: Option<Ol>,
pub timers: Option<Timers>,
pub ota: Option<Ota>,
pub dmx: Option<Dmx>,
pub um: Option<Value>,
}
Fields§
§rev: Option<Vec<u32>>
Version of WLED (“1.0.2”, for example is [1, 0, 2]) but WLED source only uses 2 indices :/
vid: Option<u64>
Version ID; version code in format yymmddb (b = daily build) (macro called “VERSION” in wled source)
id: Option<Id>
identifying information
nw: Option<Nw>
client mode network info
eth: Option<Eth>
ethernet info, not included in builds with use Ethernet build flag
ap: Option<Ap>
Access point info
wifi: Option<Wifi>
literally just “sleep” whatever the fuck it meansa
hw: Option<Hw>
hardware info
light: Option<Light>
light info
def: Option<Def>
defaults
if_field: Option<If2>
Iterface info
remote: Option<Remote>
Remote info
ol: Option<Ol>
Analog clock stuff
timers: Option<Timers>
timer settings
ota: Option<Ota>
Over the air update settings
dmx: Option<Dmx>
Dmx setting. build-dependant
um: Option<Value>
usermod settings. this depends on the mod, so I wont even touch this.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cfg
impl<'de> Deserialize<'de> for Cfg
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 TryInto<String> for &Cfg
impl TryInto<String> for &Cfg
Source§type Error = WledJsonApiError
type Error = WledJsonApiError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Cfg
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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