pub struct TaskClientOwner {
pub disconnected_at: Option<String>,
pub display_name: Option<String>,
pub join_id: String,
pub kind: TaskClientOwnerKind,
pub participant_id: String,
pub presence: TaskClientOwnerPresence,
pub source: Option<String>,
}Expand description
Public owner attribution for a client-owned task. Identifiers are opaque and never authorize requests.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§disconnected_at: Option<String>ISO 8601 timestamp when the bound join disconnected
display_name: Option<String>Display-only owner name
join_id: StringOpaque identity of the currently or most recently bound session join
kind: TaskClientOwnerKindClass of the task owner
participant_id: StringOpaque session-scoped participant identity
presence: TaskClientOwnerPresenceWhether this task’s bound join is currently connected
source: Option<String>Display-only owner source
Trait Implementations§
Source§impl Clone for TaskClientOwner
impl Clone for TaskClientOwner
Source§fn clone(&self) -> TaskClientOwner
fn clone(&self) -> TaskClientOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskClientOwner
impl Debug for TaskClientOwner
Source§impl Default for TaskClientOwner
impl Default for TaskClientOwner
Source§fn default() -> TaskClientOwner
fn default() -> TaskClientOwner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskClientOwner
impl<'de> Deserialize<'de> for TaskClientOwner
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
Auto Trait Implementations§
impl Freeze for TaskClientOwner
impl RefUnwindSafe for TaskClientOwner
impl Send for TaskClientOwner
impl Sync for TaskClientOwner
impl Unpin for TaskClientOwner
impl UnsafeUnpin for TaskClientOwner
impl UnwindSafe for TaskClientOwner
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