pub struct SessionInfoDelta {
pub domain: Option<String>,
pub is_local: Option<bool>,
pub is_locally_active: Option<bool>,
pub player_status: Option<PlayerStatus>,
pub metadata: Option<Metadata>,
pub media_images: Option<Vec<MediaImage>>,
pub player_capabilities: Option<PlayerCapabilities>,
/* private fields */
}
Expand description
SessionInfoDelta holds a description of a media session.
Fields§
§domain: Option<String>
The domain on which the session takes place. A domain identifies a set of mutually compatible media targets and sessions; sessions on a domain may be played back on targets of the same domain.
This field is always present.
is_local: Option<bool>
Whether the source of the media playback is on this device.
This field is present only if known.
is_locally_active: Option<bool>
If this is true
, the playback is taking place local to the device.
Playing on the device speaker is local, playing on a remote speaker
is not. This is only set when the session is playing back; a paused
session is not active.
This field is always present.
player_status: Option<PlayerStatus>
The status of the player.
This field is always present.
metadata: Option<Metadata>
Metadata describing the media session.
This field is always present.
media_images: Option<Vec<MediaImage>>
Images associated with the media or its source.
This field is always present.
player_capabilities: Option<PlayerCapabilities>
The capabilities the player of the media implements.
This field is always present.
Trait Implementations§
source§impl Clone for SessionInfoDelta
impl Clone for SessionInfoDelta
source§fn clone(&self) -> SessionInfoDelta
fn clone(&self) -> SessionInfoDelta
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionInfoDelta
impl Debug for SessionInfoDelta
source§impl Decode<SessionInfoDelta> for SessionInfoDelta
impl Decode<SessionInfoDelta> for SessionInfoDelta
source§impl Default for SessionInfoDelta
impl Default for SessionInfoDelta
source§fn default() -> SessionInfoDelta
fn default() -> SessionInfoDelta
source§impl Encode<SessionInfoDelta> for &SessionInfoDelta
impl Encode<SessionInfoDelta> for &SessionInfoDelta
source§impl PartialEq for SessionInfoDelta
impl PartialEq for SessionInfoDelta
source§fn eq(&self, other: &SessionInfoDelta) -> bool
fn eq(&self, other: &SessionInfoDelta) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for SessionInfoDelta
impl TypeMarker for SessionInfoDelta
§type Owned = SessionInfoDelta
type Owned = SessionInfoDelta
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for SessionInfoDelta
impl ValueTypeMarker for SessionInfoDelta
§type Borrowed<'a> = &'a SessionInfoDelta
type Borrowed<'a> = &'a SessionInfoDelta
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more