pub struct EdgeConfig {
pub edge_id: String,
pub mappings: Vec<Mapping>,
pub glyphs: Vec<Glyph>,
pub device_cycles: Vec<DeviceCycle>,
}Expand description
Complete config for one edge, pushed as a ConfigFull frame.
Fields§
§edge_id: String§mappings: Vec<Mapping>§glyphs: Vec<Glyph>Named glyph patterns the edge should use when rendering feedback.
Consumers look up by name. Entries with builtin == true have an
empty pattern and are expected to be rendered programmatically by
the consumer (e.g. volume_bar scales with percentage).
device_cycles: Vec<DeviceCycle>Device-level cycle rows for this edge’s devices. Empty when no device under this edge has an active cycle. Older edge-agents receiving this field as unknown deserialize an empty vec via the default annotation.
Trait Implementations§
Source§impl Clone for EdgeConfig
impl Clone for EdgeConfig
Source§fn clone(&self) -> EdgeConfig
fn clone(&self) -> EdgeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EdgeConfig
impl Debug for EdgeConfig
Source§impl<'de> Deserialize<'de> for EdgeConfig
impl<'de> Deserialize<'de> for EdgeConfig
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 EdgeConfig
impl RefUnwindSafe for EdgeConfig
impl Send for EdgeConfig
impl Sync for EdgeConfig
impl Unpin for EdgeConfig
impl UnsafeUnpin for EdgeConfig
impl UnwindSafe for EdgeConfig
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