Struct DefaultProfile
#[non_exhaustive]pub struct DefaultProfile {
pub index: ProfileIndex,
}Expand description
The default 3GPP profile.
Returned by GetDefaultProfile. A profile index of 0 fails the whole
response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: ProfileIndexIndex of the profile.
Trait Implementations§
§impl Clone for DefaultProfile
impl Clone for DefaultProfile
§fn clone(&self) -> DefaultProfile
fn clone(&self) -> DefaultProfile
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 DefaultProfile
§impl Debug for DefaultProfile
impl Debug for DefaultProfile
impl Eq for DefaultProfile
§impl PartialEq for DefaultProfile
impl PartialEq for DefaultProfile
impl StructuralPartialEq for DefaultProfile
§impl TryFrom<&Message> for DefaultProfile
impl TryFrom<&Message> for DefaultProfile
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DefaultProfile
impl RefUnwindSafe for DefaultProfile
impl Send for DefaultProfile
impl Sync for DefaultProfile
impl Unpin for DefaultProfile
impl UnsafeUnpin for DefaultProfile
impl UnwindSafe for DefaultProfile
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