pub struct SettingData {
pub samples: Option<u16>,
pub sample_rate: Option<f64>,
pub playback_delay: Option<u16>,
}Expand description
The current settings understood by the Archiver and Server ToDo: these could probably be split.
Fields§
§samples: Option<u16>§sample_rate: Option<f64>§playback_delay: Option<u16>Trait Implementations§
Source§impl Clone for SettingData
impl Clone for SettingData
Source§fn clone(&self) -> SettingData
fn clone(&self) -> SettingData
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 SettingData
impl Debug for SettingData
Source§impl<'de> Deserialize<'de> for SettingData
impl<'de> Deserialize<'de> for SettingData
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
Source§impl PartialEq for SettingData
impl PartialEq for SettingData
Source§impl Serialize for SettingData
impl Serialize for SettingData
impl StructuralPartialEq for SettingData
Auto Trait Implementations§
impl Freeze for SettingData
impl RefUnwindSafe for SettingData
impl Send for SettingData
impl Sync for SettingData
impl Unpin for SettingData
impl UnsafeUnpin for SettingData
impl UnwindSafe for SettingData
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