Function serialize_highlight
pub fn serialize_highlight(highlighted: bool) -> u8Expand description
Serialize a highlight flag into its single-byte wire representation.
§Arguments
highlighted-trueif the client is the daemon’s currently selected submenu client,falseotherwise.
§Returns
1 for true, 0 for false. Used as the payload of a tagged
crate::protocol::TAG_HIGHLIGHT frame.