pub struct FullTrackName {
pub namespace: TrackNamespace,
pub track_name: Vec<u8>,
}Expand description
Full Track Name: a Track Namespace and the Track Name within it.
Drafts 11 and later cap the pair: “The maximum total length of a Full Track
Name is 4,096 bytes… computed as the sum of the Track Namespace Field
Length fields and the Track Name Length field.” Drafts 07 through 10 state no
cap. That sum spans two fields that arrive separately, so it is settled where
a message decodes both, with TrackNamespace::field_bytes_len supplying
the namespace half.
Fields§
§namespace: TrackNamespaceThe track namespace tuple.
track_name: Vec<u8>The track name within the namespace.
Trait Implementations§
Source§impl Clone for FullTrackName
impl Clone for FullTrackName
Source§fn clone(&self) -> FullTrackName
fn clone(&self) -> FullTrackName
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 FullTrackName
impl Debug for FullTrackName
impl Eq for FullTrackName
Source§impl PartialEq for FullTrackName
impl PartialEq for FullTrackName
impl StructuralPartialEq for FullTrackName
Auto Trait Implementations§
impl Freeze for FullTrackName
impl RefUnwindSafe for FullTrackName
impl Send for FullTrackName
impl Sync for FullTrackName
impl Unpin for FullTrackName
impl UnsafeUnpin for FullTrackName
impl UnwindSafe for FullTrackName
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