pub struct CreatedUser {
pub entry: UserEntry,
pub link: Link,
}Available on crate feature
alloc only.Expand description
The answer to POST /api/auth/users: the new user and their
registration link, whose token is shown only this once.
Its JSON form is {"entry": UserEntry, "link": Link}.
Fields§
§entry: UserEntryThe new user.
link: LinkThe new user’s registration link.
Trait Implementations§
Source§impl Clone for CreatedUser
impl Clone for CreatedUser
Source§impl Debug for CreatedUser
impl Debug for CreatedUser
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CreatedUserwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Binary, __A> for CreatedUserwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CreatedUserwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Text, __A> for CreatedUserwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for CreatedUser
impl<'de> Deserialize<'de> for CreatedUser
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode<Binary> for CreatedUser
Available on crate feature musli02 only.
impl Encode<Binary> for CreatedUser
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CreatedUser
type Encode = CreatedUser
The underlying type being encoded. Read more
Source§impl Encode<Text> for CreatedUser
Available on crate feature musli02 only.
impl Encode<Text> for CreatedUser
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CreatedUser
type Encode = CreatedUser
The underlying type being encoded. Read more
impl Eq for CreatedUser
Source§impl PartialEq for CreatedUser
impl PartialEq for CreatedUser
Source§impl Serialize for CreatedUser
impl Serialize for CreatedUser
impl StructuralPartialEq for CreatedUser
Auto Trait Implementations§
impl Freeze for CreatedUser
impl RefUnwindSafe for CreatedUser
impl Send for CreatedUser
impl Sync for CreatedUser
impl Unpin for CreatedUser
impl UnsafeUnpin for CreatedUser
impl UnwindSafe for CreatedUser
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