pub struct DndConfig {
pub focus: Option<String>,
pub control: Option<String>,
}Expand description
iph dnd.
Fields§
§focus: Option<String>The Focus to switch to instead of Do Not Disturb, by the name the phone shows for it.
control: Option<String>Label of the Focus control in Control Center, for a phone whose language is neither Korean nor English.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DndConfig
impl<'de> Deserialize<'de> for DndConfig
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 Forget for DndConfig
impl Freeze for DndConfig
impl Move for DndConfig
impl RefUnwindSafe for DndConfig
impl Send for DndConfig
impl Sync for DndConfig
impl Unpin for DndConfig
impl UnsafeUnpin for DndConfig
impl UnwindSafe for DndConfig
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