pub struct UserGetResponse {
pub user: Option<Box<User>>,
}Fields§
§user: Option<Box<User>>Implementations§
Source§impl UserGetResponse
impl UserGetResponse
pub fn new() -> UserGetResponse
Trait Implementations§
Source§impl Clone for UserGetResponse
impl Clone for UserGetResponse
Source§fn clone(&self) -> UserGetResponse
fn clone(&self) -> UserGetResponse
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 moreSource§impl Debug for UserGetResponse
impl Debug for UserGetResponse
Source§impl Default for UserGetResponse
impl Default for UserGetResponse
Source§fn default() -> UserGetResponse
fn default() -> UserGetResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserGetResponse
impl<'de> Deserialize<'de> for UserGetResponse
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 PartialEq for UserGetResponse
impl PartialEq for UserGetResponse
Source§fn eq(&self, other: &UserGetResponse) -> bool
fn eq(&self, other: &UserGetResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserGetResponse
impl Serialize for UserGetResponse
impl StructuralPartialEq for UserGetResponse
Auto Trait Implementations§
impl Freeze for UserGetResponse
impl RefUnwindSafe for UserGetResponse
impl Send for UserGetResponse
impl Sync for UserGetResponse
impl Unpin for UserGetResponse
impl UnsafeUnpin for UserGetResponse
impl UnwindSafe for UserGetResponse
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