pub struct Presence(/* private fields */);Implementations§
Source§impl Presence
impl Presence
pub fn room(&self) -> &Room
pub fn id(&self) -> &str
pub fn profile(&self) -> &Profile
pub fn position(&self) -> [f64; 3]
pub fn status(&self) -> String
pub fn move(&self, position: [f64; 3])
pub fn set_status(&self, status: &str)
pub fn update(&self, patch: &PresencePatch)
pub fn to_json(&self) -> Value
Trait Implementations§
Auto Trait Implementations§
impl Forget for Presence
impl Freeze for Presence
impl Move for Presence
impl RefUnwindSafe for Presence
impl Send for Presence
impl Sync for Presence
impl Unpin for Presence
impl UnsafeUnpin for Presence
impl UnwindSafe for Presence
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