pub struct PluginNextPrewarmCorrelation { /* private fields */ }Expand description
Correlation carried by the one allowed next-item prewarm scope.
Implementations§
Source§impl PluginNextPrewarmCorrelation
impl PluginNextPrewarmCorrelation
pub fn new( session: PluginSessionCorrelation, item_id: impl Into<String>, source_revision: u64, warmup_task_id: 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 warmup_task_id(&self) -> u64
Trait Implementations§
Source§impl Clone for PluginNextPrewarmCorrelation
impl Clone for PluginNextPrewarmCorrelation
Source§fn clone(&self) -> PluginNextPrewarmCorrelation
fn clone(&self) -> PluginNextPrewarmCorrelation
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 PluginNextPrewarmCorrelation
impl Debug for PluginNextPrewarmCorrelation
impl Eq for PluginNextPrewarmCorrelation
Source§impl Hash for PluginNextPrewarmCorrelation
impl Hash for PluginNextPrewarmCorrelation
impl StructuralPartialEq for PluginNextPrewarmCorrelation
Auto Trait Implementations§
impl Freeze for PluginNextPrewarmCorrelation
impl RefUnwindSafe for PluginNextPrewarmCorrelation
impl Send for PluginNextPrewarmCorrelation
impl Sync for PluginNextPrewarmCorrelation
impl Unpin for PluginNextPrewarmCorrelation
impl UnsafeUnpin for PluginNextPrewarmCorrelation
impl UnwindSafe for PluginNextPrewarmCorrelation
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