pub enum Tier {
Owner,
Friend,
Stranger,
Unknown,
}Expand description
Who an endpoint is to the main server, for its relay.
Variants§
Owner
The server itself, a device of its users (one with a live session
or trusted for a user), or the holder of an invite that
makes an account here (create-user, any role).
Friend
The holder of an invite for a portable user or a server, and later those users and servers themselves; a paired server’s user’s device holding a play token, and while the session it opened lives.
Stranger
Anyone else.
Unknown
A tier this build does not know: a stranger.
Trait Implementations§
impl Copy for Tier
Source§impl<'de> Deserialize<'de> for Tier
impl<'de> Deserialize<'de> for Tier
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 Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Forget for Tier
impl Freeze for Tier
impl Move for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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