pub struct PlayFromChoice {
pub server: Option<LibraryServer>,
pub id: MediaId,
pub playing: bool,
pub playable: bool,
}Expand description
One copy of a title, as the Play from list shows it
(Copies::choices).
Fields§
§server: Option<LibraryServer>The copy’s paired server; None for the user’s own.
id: MediaIdThe copy’s id: what plays when it is picked.
playing: boolThe copy that plays now.
playable: boolIt can play now: the user’s own server’s, or a paired one online. One offline is shown greyed, browsed and not played.
Trait Implementations§
Source§impl Clone for PlayFromChoice
impl Clone for PlayFromChoice
Source§impl Debug for PlayFromChoice
impl Debug for PlayFromChoice
impl Eq for PlayFromChoice
Source§impl PartialEq for PlayFromChoice
impl PartialEq for PlayFromChoice
impl StructuralPartialEq for PlayFromChoice
Auto Trait Implementations§
impl Freeze for PlayFromChoice
impl RefUnwindSafe for PlayFromChoice
impl Send for PlayFromChoice
impl Sync for PlayFromChoice
impl Unpin for PlayFromChoice
impl UnsafeUnpin for PlayFromChoice
impl UnwindSafe for PlayFromChoice
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