pub struct UsernameValidationResponse {
pub valid: bool,
pub error: Option<String>,
}Fields§
§valid: bool§error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for UsernameValidationResponse
impl Clone for UsernameValidationResponse
Source§fn clone(&self) -> UsernameValidationResponse
fn clone(&self) -> UsernameValidationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsernameValidationResponse
impl Debug for UsernameValidationResponse
Source§impl<'de> Deserialize<'de> for UsernameValidationResponse
impl<'de> Deserialize<'de> for UsernameValidationResponse
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 StructuralPartialEq for UsernameValidationResponse
Auto Trait Implementations§
impl Freeze for UsernameValidationResponse
impl RefUnwindSafe for UsernameValidationResponse
impl Send for UsernameValidationResponse
impl Sync for UsernameValidationResponse
impl Unpin for UsernameValidationResponse
impl UnwindSafe for UsernameValidationResponse
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