pub struct ChannelDto {
pub id: u32,
pub name: String,
pub gain: f32,
pub tone_stack: ToneStackDto,
pub volume: f32,
pub effect_chain: Vec<EffectDto>,
}Expand description
Data transfer object for a Channel’s settings.
Fields§
§id: u32Unique identifier for the Channel.
name: StringName of the Channel
gain: f32The input gain level of the Channel.
tone_stack: ToneStackDtoThe tone stack settings, including bass, mid, treble of the Channel.
volume: f32The volume of the Channel.
effect_chain: Vec<EffectDto>The chain of effects the signal is sent through
Trait Implementations§
Source§impl Clone for ChannelDto
impl Clone for ChannelDto
Source§fn clone(&self) -> ChannelDto
fn clone(&self) -> ChannelDto
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 ChannelDto
impl Debug for ChannelDto
Source§impl<'de> Deserialize<'de> for ChannelDto
impl<'de> Deserialize<'de> for ChannelDto
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 From<&Channel> for ChannelDto
impl From<&Channel> for ChannelDto
Auto Trait Implementations§
impl Freeze for ChannelDto
impl RefUnwindSafe for ChannelDto
impl Send for ChannelDto
impl Sync for ChannelDto
impl Unpin for ChannelDto
impl UnsafeUnpin for ChannelDto
impl UnwindSafe for ChannelDto
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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