Struct thunderstore_api::models::v2::authenticate::ResponseBody
source · [−]pub struct ResponseBody {
pub email: Option<String>,
pub session_id: String,
pub username: String,
}Fields
email: Option<String>session_id: Stringusername: StringImplementations
sourceimpl ResponseBody
impl ResponseBody
Trait Implementations
sourceimpl Clone for ResponseBody
impl Clone for ResponseBody
sourcefn clone(&self) -> ResponseBody
fn clone(&self) -> ResponseBody
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ResponseBody
impl Debug for ResponseBody
sourceimpl Default for ResponseBody
impl Default for ResponseBody
sourcefn default() -> ResponseBody
fn default() -> ResponseBody
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ResponseBody
impl<'de> Deserialize<'de> for ResponseBody
sourcefn 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
sourceimpl PartialEq<ResponseBody> for ResponseBody
impl PartialEq<ResponseBody> for ResponseBody
sourcefn eq(&self, other: &ResponseBody) -> bool
fn eq(&self, other: &ResponseBody) -> bool
sourceimpl Serialize for ResponseBody
impl Serialize for ResponseBody
impl Eq for ResponseBody
impl StructuralEq for ResponseBody
impl StructuralPartialEq for ResponseBody
Auto Trait Implementations
impl RefUnwindSafe for ResponseBody
impl Send for ResponseBody
impl Sync for ResponseBody
impl Unpin for ResponseBody
impl UnwindSafe for ResponseBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.