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<D: ResourceDialect> Decode<SessionInfoDelta, D> for SessionInfoDelta
impl<D: ResourceDialect> Decode<SessionInfoDelta, D> for SessionInfoDelta
Source§impl Default for SessionInfoDelta
impl Default for SessionInfoDelta
Source§fn default() -> SessionInfoDelta
fn default() -> SessionInfoDelta
Source§impl<D: ResourceDialect> Encode<SessionInfoDelta, D> for &SessionInfoDelta
impl<D: ResourceDialect> Encode<SessionInfoDelta, D> for &SessionInfoDelta
Source§impl PartialEq for SessionInfoDelta
impl PartialEq for SessionInfoDelta
Source§impl TypeMarker for SessionInfoDelta
impl TypeMarker for SessionInfoDelta
Source§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
Source§type Borrowed<'a> = &'a SessionInfoDelta
type Borrowed<'a> = &'a SessionInfoDelta
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for SessionInfoDelta
impl StructuralPartialEq for SessionInfoDelta
Auto Trait Implementations§
impl Freeze for SessionInfoDelta
impl RefUnwindSafe for SessionInfoDelta
impl Send for SessionInfoDelta
impl Sync for SessionInfoDelta
impl Unpin for SessionInfoDelta
impl UnwindSafe for SessionInfoDelta
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)