pub enum ApiPlaybackTarget {
AudioZone {
audio_zone_id: u64,
},
ConnectionOutput {
connection_id: String,
output_id: String,
},
}Expand description
API representation of playback target destination.
Variants§
Trait Implementations§
Source§impl AsRef<str> for ApiPlaybackTarget
impl AsRef<str> for ApiPlaybackTarget
Source§impl Clone for ApiPlaybackTarget
impl Clone for ApiPlaybackTarget
Source§fn clone(&self) -> ApiPlaybackTarget
fn clone(&self) -> ApiPlaybackTarget
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 ApiPlaybackTarget
impl Debug for ApiPlaybackTarget
Source§impl Default for ApiPlaybackTarget
Default implementation for ApiPlaybackTarget.
impl Default for ApiPlaybackTarget
Default implementation for ApiPlaybackTarget.
Source§impl<'de> Deserialize<'de> for ApiPlaybackTarget
impl<'de> Deserialize<'de> for ApiPlaybackTarget
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<ApiPlaybackTarget> for PlaybackTarget
Converts an ApiPlaybackTarget to a PlaybackTarget.
impl From<ApiPlaybackTarget> for PlaybackTarget
Converts an ApiPlaybackTarget to a PlaybackTarget.
Source§fn from(value: ApiPlaybackTarget) -> Self
fn from(value: ApiPlaybackTarget) -> Self
Converts an ApiPlaybackTarget into its internal representation.
Source§impl From<PlaybackTarget> for ApiPlaybackTarget
Converts a PlaybackTarget to an ApiPlaybackTarget.
impl From<PlaybackTarget> for ApiPlaybackTarget
Converts a PlaybackTarget to an ApiPlaybackTarget.
Source§fn from(value: PlaybackTarget) -> Self
fn from(value: PlaybackTarget) -> Self
Converts a PlaybackTarget into its API representation.
Source§impl FromStr for ApiPlaybackTarget
impl FromStr for ApiPlaybackTarget
Source§impl PartialEq for ApiPlaybackTarget
impl PartialEq for ApiPlaybackTarget
Source§fn eq(&self, other: &ApiPlaybackTarget) -> bool
fn eq(&self, other: &ApiPlaybackTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiPlaybackTarget
impl Serialize for ApiPlaybackTarget
Source§impl TryFrom<&str> for ApiPlaybackTarget
impl TryFrom<&str> for ApiPlaybackTarget
impl Eq for ApiPlaybackTarget
impl StructuralPartialEq for ApiPlaybackTarget
Auto Trait Implementations§
impl Freeze for ApiPlaybackTarget
impl RefUnwindSafe for ApiPlaybackTarget
impl Send for ApiPlaybackTarget
impl Sync for ApiPlaybackTarget
impl Unpin for ApiPlaybackTarget
impl UnsafeUnpin for ApiPlaybackTarget
impl UnwindSafe for ApiPlaybackTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.