pub struct PresetFile {
pub version: u32,
pub note: String,
pub verified_on: String,
pub devices: Vec<Device>,
}Expand description
The on-disk preset file.
Fields§
§version: u32§note: String§verified_on: String§devices: Vec<Device>Trait Implementations§
Source§impl Clone for PresetFile
impl Clone for PresetFile
Source§fn clone(&self) -> PresetFile
fn clone(&self) -> PresetFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PresetFile
impl Debug for PresetFile
Source§impl<'de> Deserialize<'de> for PresetFile
impl<'de> Deserialize<'de> for PresetFile
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 PresetFile
impl RefUnwindSafe for PresetFile
impl Send for PresetFile
impl Sync for PresetFile
impl Unpin for PresetFile
impl UnsafeUnpin for PresetFile
impl UnwindSafe for PresetFile
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