pub struct PlaybackId(pub String);Tuple Fields§
§0: StringImplementations§
Source§impl PlaybackId
impl PlaybackId
pub fn new() -> PlaybackId
pub fn from_string(s: impl Into<String>) -> PlaybackId
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for PlaybackId
impl Clone for PlaybackId
Source§fn clone(&self) -> PlaybackId
fn clone(&self) -> PlaybackId
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 PlaybackId
impl Debug for PlaybackId
Source§impl Default for PlaybackId
impl Default for PlaybackId
Source§fn default() -> PlaybackId
fn default() -> PlaybackId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlaybackId
impl<'de> Deserialize<'de> for PlaybackId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlaybackId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlaybackId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlaybackId
impl Display for PlaybackId
impl Eq for PlaybackId
Source§impl Hash for PlaybackId
impl Hash for PlaybackId
Source§impl Ord for PlaybackId
impl Ord for PlaybackId
Source§fn cmp(&self, other: &PlaybackId) -> Ordering
fn cmp(&self, other: &PlaybackId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PlaybackId
impl PartialEq for PlaybackId
Source§impl PartialOrd for PlaybackId
impl PartialOrd for PlaybackId
Source§impl Serialize for PlaybackId
impl Serialize for PlaybackId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlaybackId
Auto Trait Implementations§
impl Freeze for PlaybackId
impl RefUnwindSafe for PlaybackId
impl Send for PlaybackId
impl Sync for PlaybackId
impl Unpin for PlaybackId
impl UnsafeUnpin for PlaybackId
impl UnwindSafe for PlaybackId
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.