Struct ProfileId
pub struct ProfileId {
pub profile_type: ProfileType,
pub index: u8,
}Expand description
Identifies a profile (wds_profile_identifier_type_v01).
Fields§
§profile_type: ProfileTypeTechnology of the profile.
index: u8Index of the profile. 3GPP profiles start at 1. The IDL doesn’t limit the index of other types.
Implementations§
§impl ProfileId
impl ProfileId
pub const fn threegpp(index: ProfileIndex) -> Self
pub const fn threegpp(index: ProfileIndex) -> Self
Returns the ID of a 3GPP profile.
Trait Implementations§
impl Copy for ProfileId
impl Eq for ProfileId
impl StructuralPartialEq for ProfileId
Auto Trait Implementations§
impl Freeze for ProfileId
impl RefUnwindSafe for ProfileId
impl Send for ProfileId
impl Sync for ProfileId
impl Unpin for ProfileId
impl UnsafeUnpin for ProfileId
impl UnwindSafe for ProfileId
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