pub struct ProfilePayload {
pub profile: String,
}
Expand description
The profile to activate as part of a SwitchToProfile message.
Fields§
§profile: String
The name of the profile to activate.
Trait Implementations§
Source§impl Debug for ProfilePayload
impl Debug for ProfilePayload
Source§impl<'de> Deserialize<'de> for ProfilePayload
impl<'de> Deserialize<'de> for ProfilePayload
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 ProfilePayload
impl RefUnwindSafe for ProfilePayload
impl Send for ProfilePayload
impl Sync for ProfilePayload
impl Unpin for ProfilePayload
impl UnwindSafe for ProfilePayload
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