pub struct Device {
pub id: String,
pub is_active: bool,
pub is_private_session: bool,
pub is_restricted: bool,
pub name: String,
pub device_type: String,
pub volume_percent: Option<i32>,
}
Expand description
Struct to represent a playback device
Fields§
§id: String
§is_active: bool
§is_private_session: bool
§is_restricted: bool
§name: String
§device_type: String
§volume_percent: Option<i32>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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