pub struct PluginActivePlaybackCorrelation { /* private fields */ }Expand description
Correlation carried by one active playback scope.
Implementations§
Source§impl PluginActivePlaybackCorrelation
impl PluginActivePlaybackCorrelation
pub fn new( session: PluginSessionCorrelation, item_id: impl Into<String>, source_revision: u64, playback_generation: u64, ) -> Result<Self, PluginPlaybackError>
pub fn session(&self) -> &PluginSessionCorrelation
pub fn item_id(&self) -> &str
pub const fn source_revision(&self) -> u64
pub const fn playback_generation(&self) -> u64
Trait Implementations§
Source§impl Clone for PluginActivePlaybackCorrelation
impl Clone for PluginActivePlaybackCorrelation
Source§fn clone(&self) -> PluginActivePlaybackCorrelation
fn clone(&self) -> PluginActivePlaybackCorrelation
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 moreimpl Eq for PluginActivePlaybackCorrelation
impl StructuralPartialEq for PluginActivePlaybackCorrelation
Auto Trait Implementations§
impl Freeze for PluginActivePlaybackCorrelation
impl RefUnwindSafe for PluginActivePlaybackCorrelation
impl Send for PluginActivePlaybackCorrelation
impl Sync for PluginActivePlaybackCorrelation
impl Unpin for PluginActivePlaybackCorrelation
impl UnsafeUnpin for PluginActivePlaybackCorrelation
impl UnwindSafe for PluginActivePlaybackCorrelation
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