pub struct SmartSpeaker {
pub id: String,
pub display_name: String,
pub input_device_id: String,
pub output_device_id: String,
pub enabled: bool,
pub online: bool,
pub state: SmartSpeakerRuntimeState,
pub reason: Option<String>,
}Fields§
§id: String§display_name: String§input_device_id: String§output_device_id: String§enabled: bool§online: bool§state: SmartSpeakerRuntimeState§reason: Option<String>Trait Implementations§
Source§impl Clone for SmartSpeaker
impl Clone for SmartSpeaker
Source§fn clone(&self) -> SmartSpeaker
fn clone(&self) -> SmartSpeaker
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 SmartSpeaker
impl Debug for SmartSpeaker
Source§impl<'de> Deserialize<'de> for SmartSpeaker
impl<'de> Deserialize<'de> for SmartSpeaker
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
impl Eq for SmartSpeaker
Source§impl PartialEq for SmartSpeaker
impl PartialEq for SmartSpeaker
Source§impl Serialize for SmartSpeaker
impl Serialize for SmartSpeaker
impl StructuralPartialEq for SmartSpeaker
Auto Trait Implementations§
impl Freeze for SmartSpeaker
impl RefUnwindSafe for SmartSpeaker
impl Send for SmartSpeaker
impl Sync for SmartSpeaker
impl Unpin for SmartSpeaker
impl UnsafeUnpin for SmartSpeaker
impl UnwindSafe for SmartSpeaker
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