pub struct RegisterOutcome {
pub success: bool,
pub message: Option<AuthMessage>,
pub account_hash: Option<String>,
}Expand description
Serializable result of a registration attempt.
Fields§
§success: boolWhether account creation succeeded.
message: Option<AuthMessage>Optional translatable feedback for the caller.
account_hash: Option<String>Public account hash assigned to the created account.
Trait Implementations§
Source§impl Clone for RegisterOutcome
impl Clone for RegisterOutcome
Source§impl Debug for RegisterOutcome
impl Debug for RegisterOutcome
Source§impl<'de> Deserialize<'de> for RegisterOutcome
impl<'de> Deserialize<'de> for RegisterOutcome
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
impl Eq for RegisterOutcome
Source§impl PartialEq for RegisterOutcome
impl PartialEq for RegisterOutcome
Source§impl Serialize for RegisterOutcome
impl Serialize for RegisterOutcome
impl StructuralPartialEq for RegisterOutcome
Auto Trait Implementations§
impl Freeze for RegisterOutcome
impl RefUnwindSafe for RegisterOutcome
impl Send for RegisterOutcome
impl Sync for RegisterOutcome
impl Unpin for RegisterOutcome
impl UnsafeUnpin for RegisterOutcome
impl UnwindSafe for RegisterOutcome
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