pub struct PeerInfo {
pub id: PeerId,
pub display_name: String,
pub app_version: String,
pub custom_info: String,
pub app_state: AppState,
pub version_id: String,
pub room_tag: String,
pub is_target_app: bool,
pub identity: PeerIdentity,
}Expand description
Snapshot of a QarPeerSpec.
Fields§
§id: PeerId§display_name: String§app_version: String§custom_info: String§app_state: AppStateqar_peer_spec_get_app_state. The public header deprecates it for the peer presence and
derives it from the presence: an ONLINE peer, or one the hub has not reconciled
(UNKNOWN), reads as what it claimed, which every current peer claims as
AppState::Running once it joins; OFFLINE and LEAVING read as
AppState::ShuttingDown, and the peer may come back as Running; RETIRED reads as
AppState::Retired. PeerInfo::identity carries the presence itself.
version_id: String§room_tag: String§is_target_app: boolA device or viewer that shows rendered content (headset, Android
streamer, visualizer): a peer to render for once it is
AppState::Running (header “Basic flow”, step 5).
identity: PeerIdentityThe presence, role and device identity.
Trait Implementations§
impl StructuralPartialEq for PeerInfo
Auto Trait Implementations§
impl Freeze for PeerInfo
impl RefUnwindSafe for PeerInfo
impl Send for PeerInfo
impl Sync for PeerInfo
impl Unpin for PeerInfo
impl UnsafeUnpin for PeerInfo
impl UnwindSafe for PeerInfo
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