Struct CreatedProfile
#[non_exhaustive]pub struct CreatedProfile {
pub profile: ProfileId,
}Expand description
The new profile.
Returned by CreateProfile.
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.profile: ProfileIdID of the profile.
Trait Implementations§
§impl Clone for CreatedProfile
impl Clone for CreatedProfile
§fn clone(&self) -> CreatedProfile
fn clone(&self) -> CreatedProfile
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 CreatedProfile
§impl Debug for CreatedProfile
impl Debug for CreatedProfile
impl Eq for CreatedProfile
§impl PartialEq for CreatedProfile
impl PartialEq for CreatedProfile
impl StructuralPartialEq for CreatedProfile
§impl TryFrom<&Message> for CreatedProfile
impl TryFrom<&Message> for CreatedProfile
§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 CreatedProfile
impl RefUnwindSafe for CreatedProfile
impl Send for CreatedProfile
impl Sync for CreatedProfile
impl Unpin for CreatedProfile
impl UnsafeUnpin for CreatedProfile
impl UnwindSafe for CreatedProfile
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