pub struct PatchDDCConfig {
pub frequency: Option<f64>,
}Expand description
DDC configuration PUT JSON schema.
This JSON schema corresponds to PATCH requests on /api/ddc/config. It is
used to change the frequency without changing the FIR filter configuration
Fields§
§frequency: Option<f64>Frequency for the mixer, in Hz.
Trait Implementations§
Source§impl Clone for PatchDDCConfig
impl Clone for PatchDDCConfig
Source§fn clone(&self) -> PatchDDCConfig
fn clone(&self) -> PatchDDCConfig
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 PatchDDCConfig
impl Debug for PatchDDCConfig
Source§impl Default for PatchDDCConfig
impl Default for PatchDDCConfig
Source§fn default() -> PatchDDCConfig
fn default() -> PatchDDCConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchDDCConfig
impl<'de> Deserialize<'de> for PatchDDCConfig
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 PatchDDCConfig
impl PartialEq for PatchDDCConfig
Source§impl Serialize for PatchDDCConfig
impl Serialize for PatchDDCConfig
impl StructuralPartialEq for PatchDDCConfig
Auto Trait Implementations§
impl Freeze for PatchDDCConfig
impl RefUnwindSafe for PatchDDCConfig
impl Send for PatchDDCConfig
impl Sync for PatchDDCConfig
impl Unpin for PatchDDCConfig
impl UnwindSafe for PatchDDCConfig
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