pub struct SetRouteRequest {
pub serial: String,
pub sink_bay: u16,
pub source_bay: u16,
pub no_power_on: bool,
pub audio_only: bool,
}Expand description
Asks a device, addressed by serial, to switch a sink.
Fields§
§serial: StringSerial of the device to act on.
sink_bay: u16Output bay to switch.
source_bay: u16Source bay to switch it to.
no_power_on: boolWhether to skip the power-on commands that normally accompany a switch.
audio_only: boolTrue when this arrived on AUDIO_SET_ROUTE rather than MX_SET_ROUTE.
Trait Implementations§
Source§impl Clone for SetRouteRequest
impl Clone for SetRouteRequest
Source§fn clone(&self) -> SetRouteRequest
fn clone(&self) -> SetRouteRequest
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 SetRouteRequest
impl Debug for SetRouteRequest
Source§impl Default for SetRouteRequest
impl Default for SetRouteRequest
Source§fn default() -> SetRouteRequest
fn default() -> SetRouteRequest
Returns the “default value” for a type. Read more
Source§impl Display for SetRouteRequest
impl Display for SetRouteRequest
impl Eq for SetRouteRequest
Source§impl PartialEq for SetRouteRequest
impl PartialEq for SetRouteRequest
impl StructuralPartialEq for SetRouteRequest
Auto Trait Implementations§
impl Freeze for SetRouteRequest
impl RefUnwindSafe for SetRouteRequest
impl Send for SetRouteRequest
impl Sync for SetRouteRequest
impl Unpin for SetRouteRequest
impl UnsafeUnpin for SetRouteRequest
impl UnwindSafe for SetRouteRequest
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