pub struct TitlePayload {
pub title: Option<String>,
pub target: Target,
pub state: Option<u8>,
}
Expand description
The title to set as part of a SetTitle message.
Fields§
§title: Option<String>
The new title.
target: Target
The target displays.
state: Option<u8>
The state to set the title for. If not set, it is set for all states.
Trait Implementations§
Source§impl Debug for TitlePayload
impl Debug for TitlePayload
Source§impl<'de> Deserialize<'de> for TitlePayload
impl<'de> Deserialize<'de> for TitlePayload
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 TitlePayload
impl RefUnwindSafe for TitlePayload
impl Send for TitlePayload
impl Sync for TitlePayload
impl Unpin for TitlePayload
impl UnwindSafe for TitlePayload
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