[−][src]Struct speedruns::data::types::User
Fields
created: Option<DateTime<Utc>>
slug: String
name: String
id: u64
Methods
impl User
[src]
pub fn created(&self) -> &Option<DateTime<Utc>>
[src]
pub fn slug(&self) -> &String
[src]
pub fn name(&self) -> &String
[src]
pub fn id(&self) -> &u64
[src]
impl User
[src]
pub fn src_id(&self) -> String
[src]
This item's ID as it would be formatted for SpeedRun.Com.
pub fn src_slug(&self) -> String
[src]
This item's URL as it would be formatted for SpeedRun.com.
Trait Implementations
impl Clone for User
[src]
impl Debug for User
[src]
impl<'de> Deserialize<'de> for User
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for User
[src]
impl From<User> for AnyModel
[src]
impl Hash for User
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Model for User
[src]
impl Ord for User
[src]
fn cmp(&self, other: &User) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<User> for User
[src]
impl PartialOrd<User> for User
[src]
fn partial_cmp(&self, other: &User) -> Option<Ordering>
[src]
fn lt(&self, other: &User) -> bool
[src]
fn le(&self, other: &User) -> bool
[src]
fn gt(&self, other: &User) -> bool
[src]
fn ge(&self, other: &User) -> bool
[src]
impl Serialize for User
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for User
[src]
impl StructuralPartialEq for User
[src]
impl TryFrom<AnyModel> for User
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(value: AnyModel) -> Result<Self, Self::Error>
[src]
impl Validate for User
[src]
fn validate(&self) -> Result<(), ValidationErrors>
[src]
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,