pub struct ClientId {
pub typ: u8,
pub server_id: String,
pub target: String,
}Expand description
A client identifier in the protocol, in the form type.target or
type.server_id.target.
Fields§
§typ: u8Identifier type (b'k' for key-based, b'c' for connection,
b'g' for group).
server_id: StringServer identifier (empty for global IDs).
target: StringThe specific identifier value (key hash, connection name, etc.).
Implementations§
Trait Implementations§
impl Eq for ClientId
impl StructuralPartialEq for ClientId
Auto Trait Implementations§
impl Freeze for ClientId
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnsafeUnpin for ClientId
impl UnwindSafe for ClientId
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