Struct etwin_core::popotamo::ShortPopotamoUser
source · pub struct ShortPopotamoUser {
pub server: PopotamoServer,
pub id: PopotamoUserId,
pub username: PopotamoUsername,
}
Fields§
§server: PopotamoServer
§id: PopotamoUserId
§username: PopotamoUsername
Implementations§
source§impl ShortPopotamoUser
impl ShortPopotamoUser
pub const fn as_ref(&self) -> PopotamoUserIdRef
Trait Implementations§
source§impl Clone for ShortPopotamoUser
impl Clone for ShortPopotamoUser
source§fn clone(&self) -> ShortPopotamoUser
fn clone(&self) -> ShortPopotamoUser
Returns a copy 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 ShortPopotamoUser
impl Debug for ShortPopotamoUser
source§impl Hash for ShortPopotamoUser
impl Hash for ShortPopotamoUser
source§impl Ord for ShortPopotamoUser
impl Ord for ShortPopotamoUser
source§fn cmp(&self, other: &ShortPopotamoUser) -> Ordering
fn cmp(&self, other: &ShortPopotamoUser) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ShortPopotamoUser> for ShortPopotamoUser
impl PartialEq<ShortPopotamoUser> for ShortPopotamoUser
source§fn eq(&self, other: &ShortPopotamoUser) -> bool
fn eq(&self, other: &ShortPopotamoUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ShortPopotamoUser> for ShortPopotamoUser
impl PartialOrd<ShortPopotamoUser> for ShortPopotamoUser
source§fn partial_cmp(&self, other: &ShortPopotamoUser) -> Option<Ordering>
fn partial_cmp(&self, other: &ShortPopotamoUser) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more