pub struct PresenceNames {
pub kind: Option<String>,
pub display_name: Option<String>,
pub session_name: Option<String>,
pub instance_id: Option<String>,
pub instance_name: Option<String>,
pub person_name: Option<String>,
pub machine_name: Option<String>,
pub working_on: Option<String>,
}Expand description
The names a presence.update may carry besides the worker id (all
optional; a Cloud that does not send them leaves every one None).
Display only: bounded single lines, never used to address or authorize.
Fields§
§kind: Option<String>agent | person.
display_name: Option<String>§session_name: Option<String>§instance_id: Option<String>§instance_name: Option<String>§person_name: Option<String>h7b team presence: the linked account’s name of the person the worker belongs to (set by Cloud, never by an Instance), the short name of the machine and what the worker is working on. Cloud relays them to members of the same team only.
machine_name: Option<String>§working_on: Option<String>Trait Implementations§
Source§impl Clone for PresenceNames
impl Clone for PresenceNames
Source§impl Debug for PresenceNames
impl Debug for PresenceNames
Source§impl Default for PresenceNames
impl Default for PresenceNames
Source§impl<'de> Deserialize<'de> for PresenceNames
impl<'de> Deserialize<'de> for PresenceNames
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 PresenceNames
Source§impl PartialEq for PresenceNames
impl PartialEq for PresenceNames
Source§impl Serialize for PresenceNames
impl Serialize for PresenceNames
impl StructuralPartialEq for PresenceNames
Auto Trait Implementations§
impl Forget for PresenceNames
impl Freeze for PresenceNames
impl Move for PresenceNames
impl RefUnwindSafe for PresenceNames
impl Send for PresenceNameswhere
RawVecInner: Send,
impl Sync for PresenceNameswhere
RawVecInner: Sync,
impl Unpin for PresenceNames
impl UnsafeUnpin for PresenceNames
impl UnwindSafe for PresenceNameswhere
RawVecInner: UnwindSafe,
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more