pub struct ClientMetadata {
pub client_type: String,
pub display_name: String,
pub joined_at_ms: u64,
}Expand description
Metadata about a client connection.
Contains identity information for display and debugging.
Fields§
§client_type: StringClient type identifier (“tui”, “android”, “web”, “cli”).
display_name: StringUser-friendly display name (“laptop”, “phone”).
joined_at_ms: u64When the client joined (Unix milliseconds).
Implementations§
Trait Implementations§
Source§impl Clone for ClientMetadata
impl Clone for ClientMetadata
Source§fn clone(&self) -> ClientMetadata
fn clone(&self) -> ClientMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientMetadata
impl Debug for ClientMetadata
Auto Trait Implementations§
impl Freeze for ClientMetadata
impl RefUnwindSafe for ClientMetadata
impl Send for ClientMetadata
impl Sync for ClientMetadata
impl Unpin for ClientMetadata
impl UnsafeUnpin for ClientMetadata
impl UnwindSafe for ClientMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request