pub struct SoundSettings {
pub start: bool,
pub start_sound: String,
pub clipboard: bool,
pub clipboard_sound: String,
pub upload: bool,
pub upload_sound: String,
pub error: bool,
pub error_sound: String,
}Fields§
§start: bool§start_sound: String§clipboard: bool§clipboard_sound: String§upload: bool§upload_sound: String§error: bool§error_sound: StringTrait Implementations§
Source§impl Clone for SoundSettings
impl Clone for SoundSettings
Source§fn clone(&self) -> SoundSettings
fn clone(&self) -> SoundSettings
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 SoundSettings
impl Debug for SoundSettings
Source§impl Default for SoundSettings
impl Default for SoundSettings
Source§fn default() -> SoundSettings
fn default() -> SoundSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoundSettings
impl<'de> Deserialize<'de> for SoundSettings
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 SoundSettings
impl RefUnwindSafe for SoundSettings
impl Send for SoundSettings
impl Sync for SoundSettings
impl Unpin for SoundSettings
impl UnwindSafe for SoundSettings
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