Struct ProfileIndex
pub struct ProfileIndex(NonZeroU8);Expand description
Index of a 3GPP profile.
3GPP profile numbers start at 1. Requests that only take 3GPP profiles use
this type. A ProfileId holds the index of a profile of any type as a
plain number.
Tuple Fields§
§0: NonZeroU8Implementations§
Trait Implementations§
§impl Clone for ProfileIndex
impl Clone for ProfileIndex
§fn clone(&self) -> ProfileIndex
fn clone(&self) -> ProfileIndex
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 ProfileIndex
§impl Debug for ProfileIndex
impl Debug for ProfileIndex
§impl Decode for ProfileIndex
Fails with ValueError::OutOfRange for 0.
impl Decode for ProfileIndex
Fails with ValueError::OutOfRange for 0.
§impl Encode for ProfileIndex
impl Encode for ProfileIndex
impl Eq for ProfileIndex
§impl Hash for ProfileIndex
impl Hash for ProfileIndex
§impl PartialEq for ProfileIndex
impl PartialEq for ProfileIndex
impl StructuralPartialEq for ProfileIndex
Auto Trait Implementations§
impl Freeze for ProfileIndex
impl RefUnwindSafe for ProfileIndex
impl Send for ProfileIndex
impl Sync for ProfileIndex
impl Unpin for ProfileIndex
impl UnsafeUnpin for ProfileIndex
impl UnwindSafe for ProfileIndex
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