pub struct SyncCue {
pub sync_type: SyncType,
pub chunk_id: u32,
pub offset: u32,
pub timestamp_ms: u64,
pub media_id: Option<String>,
pub duration_ms: Option<u64>,
pub metadata: Option<SyncMetadata>,
}Expand description
Represents a synchronization cue point
Fields§
§sync_type: SyncTypeThe type of synchronization
chunk_id: u32ID of the chunk this cue applies to
offset: u32Byte offset within the chunk
timestamp_ms: u64Timestamp in milliseconds (or page number for Page sync type)
media_id: Option<String>Optional identifier for the sync media
duration_ms: Option<u64>Optional duration in milliseconds for this cue
metadata: Option<SyncMetadata>Optional custom data for the cue (e.g., JSON metadata)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SyncCue
impl<'de> Deserialize<'de> for SyncCue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SyncCue
impl StructuralPartialEq for SyncCue
Auto Trait Implementations§
impl Freeze for SyncCue
impl RefUnwindSafe for SyncCue
impl Send for SyncCue
impl Sync for SyncCue
impl Unpin for SyncCue
impl UnsafeUnpin for SyncCue
impl UnwindSafe for SyncCue
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