pub struct OnlineFriend {
pub id: u64,
pub name: String,
pub display_name: String,
pub avatar_url: Option<String>,
pub in_game: bool,
pub in_studio: bool,
pub game_name: Option<String>,
}Expand description
A friend who is online, as the dashboard shows it.
Fields§
§id: u64§name: String§display_name: String§avatar_url: Option<String>§in_game: bool§in_studio: bool§game_name: Option<String>The game name, or Studio - <place> in Roblox Studio.
Trait Implementations§
Source§impl Clone for OnlineFriend
impl Clone for OnlineFriend
Source§impl Debug for OnlineFriend
impl Debug for OnlineFriend
impl Eq for OnlineFriend
Source§impl PartialEq for OnlineFriend
impl PartialEq for OnlineFriend
Source§impl Serialize for OnlineFriend
impl Serialize for OnlineFriend
impl StructuralPartialEq for OnlineFriend
Auto Trait Implementations§
impl Freeze for OnlineFriend
impl RefUnwindSafe for OnlineFriend
impl Send for OnlineFriend
impl Sync for OnlineFriend
impl Unpin for OnlineFriend
impl UnsafeUnpin for OnlineFriend
impl UnwindSafe for OnlineFriend
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.