#[repr(C)]pub struct QarPeerPresentation {
pub header: QarStructureHeader,
pub display_name: *const c_char,
pub app_version: *const c_char,
pub app_custom_peer_info: *const c_char,
}Expand description
@brief Presentation metadata advertised to other peers.
Header’d so it can grow fields or chain extensions through its own header
without touching the embedding onboarding structs. Never a storage key.
NULL fields mean “keep persisted value, or generate a default on first
onboard”. display_name also feeds the sanitized debug label embedded in
the certificate CN and storage-slot directory.
Fields§
§header: QarStructureHeader< QAR_STRUCTURE_TYPE_PEER_PRESENTATION
display_name: *const c_char< optional; human label advertised to peers
app_version: *const c_char< optional; advertised app version
app_custom_peer_info: *const c_char< optional; app-defined peer metadata
Trait Implementations§
Source§impl Clone for QarPeerPresentation
impl Clone for QarPeerPresentation
impl Copy for QarPeerPresentation
Source§impl Debug for QarPeerPresentation
impl Debug for QarPeerPresentation
Source§impl PartialEq for QarPeerPresentation
impl PartialEq for QarPeerPresentation
impl StructuralPartialEq for QarPeerPresentation
Auto Trait Implementations§
impl !Send for QarPeerPresentation
impl !Sync for QarPeerPresentation
impl Freeze for QarPeerPresentation
impl RefUnwindSafe for QarPeerPresentation
impl Unpin for QarPeerPresentation
impl UnsafeUnpin for QarPeerPresentation
impl UnwindSafe for QarPeerPresentation
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