pub struct LocalSpeakerLabel(/* private fields */);Implementations§
Source§impl LocalSpeakerLabel
impl LocalSpeakerLabel
pub fn new(number: u32) -> Result<LocalSpeakerLabel, ValidationError>
pub fn number(self) -> u32
Trait Implementations§
Source§impl Clone for LocalSpeakerLabel
impl Clone for LocalSpeakerLabel
Source§fn clone(&self) -> LocalSpeakerLabel
fn clone(&self) -> LocalSpeakerLabel
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 moreimpl Copy for LocalSpeakerLabel
Source§impl Debug for LocalSpeakerLabel
impl Debug for LocalSpeakerLabel
Source§impl<'de> Deserialize<'de> for LocalSpeakerLabel
impl<'de> Deserialize<'de> for LocalSpeakerLabel
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LocalSpeakerLabel, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LocalSpeakerLabel, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LocalSpeakerLabel
impl Display for LocalSpeakerLabel
impl Eq for LocalSpeakerLabel
Source§impl FromStr for LocalSpeakerLabel
impl FromStr for LocalSpeakerLabel
Source§type Err = ValidationError
type Err = ValidationError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<LocalSpeakerLabel, <LocalSpeakerLabel as FromStr>::Err>
fn from_str( value: &str, ) -> Result<LocalSpeakerLabel, <LocalSpeakerLabel as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for LocalSpeakerLabel
impl Hash for LocalSpeakerLabel
Source§impl Ord for LocalSpeakerLabel
impl Ord for LocalSpeakerLabel
Source§fn cmp(&self, other: &LocalSpeakerLabel) -> Ordering
fn cmp(&self, other: &LocalSpeakerLabel) -> 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 LocalSpeakerLabel
impl PartialEq for LocalSpeakerLabel
Source§impl PartialOrd for LocalSpeakerLabel
impl PartialOrd for LocalSpeakerLabel
Source§impl Serialize for LocalSpeakerLabel
impl Serialize for LocalSpeakerLabel
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 LocalSpeakerLabel
Auto Trait Implementations§
impl Freeze for LocalSpeakerLabel
impl RefUnwindSafe for LocalSpeakerLabel
impl Send for LocalSpeakerLabel
impl Sync for LocalSpeakerLabel
impl Unpin for LocalSpeakerLabel
impl UnsafeUnpin for LocalSpeakerLabel
impl UnwindSafe for LocalSpeakerLabel
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