pub struct ChannelPtsInfo {
pub channel_id: u64,
pub channel_type: u8,
pub current_pts: u64,
}Expand description
频道 pts 信息
Fields§
§channel_id: u64§channel_type: u8§current_pts: u64Trait Implementations§
Source§impl Clone for ChannelPtsInfo
impl Clone for ChannelPtsInfo
Source§fn clone(&self) -> ChannelPtsInfo
fn clone(&self) -> ChannelPtsInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelPtsInfo
impl Debug for ChannelPtsInfo
Source§impl<'de> Deserialize<'de> for ChannelPtsInfo
impl<'de> Deserialize<'de> for ChannelPtsInfo
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
Auto Trait Implementations§
impl Freeze for ChannelPtsInfo
impl RefUnwindSafe for ChannelPtsInfo
impl Send for ChannelPtsInfo
impl Sync for ChannelPtsInfo
impl Unpin for ChannelPtsInfo
impl UnsafeUnpin for ChannelPtsInfo
impl UnwindSafe for ChannelPtsInfo
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