pub struct Datagram {
pub datagram_type: DatagramType,
pub track_alias: u64,
pub group_id: u64,
pub object_id: Option<u64>,
pub publisher_priority: u8,
pub extension_headers: Option<ExtensionHeaders>,
pub status: Option<ObjectStatus>,
pub payload: Option<Bytes>,
}Fields§
§datagram_type: DatagramTypeThe type of this datagram object
track_alias: u64The track alias.
group_id: u64The sequence number within the track.
object_id: Option<u64>The object ID within the group.
publisher_priority: u8Publisher priority, where smaller values are sent first.
extension_headers: Option<ExtensionHeaders>Optional extension headers if type is 0x1 (NoEndOfGroupWithExtensions) or 0x3 (EndofGroupWithExtensions)
status: Option<ObjectStatus>The Object Status.
payload: Option<Bytes>The payload.
Trait Implementations§
impl Eq for Datagram
impl StructuralPartialEq for Datagram
Auto Trait Implementations§
impl !Freeze for Datagram
impl RefUnwindSafe for Datagram
impl Send for Datagram
impl Sync for Datagram
impl Unpin for Datagram
impl UnsafeUnpin for Datagram
impl UnwindSafe for Datagram
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.