pub struct PreparedDiscoveryAdvertisement { /* private fields */ }Implementations§
Source§impl PreparedDiscoveryAdvertisement
impl PreparedDiscoveryAdvertisement
pub fn packed_advertisement(&self) -> &[u8] ⓘ
pub const fn advertisement_hash(&self) -> &AdvertisementHash
pub const fn stamp(&self) -> &[u8; 32]
pub const fn stamp_value(&self) -> StampValue
pub const fn stamp_attempts(&self) -> u64
pub const fn security(&self) -> DiscoveryPublicationSecurity
Trait Implementations§
impl StructuralPartialEq for PreparedDiscoveryAdvertisement
Auto Trait Implementations§
impl Freeze for PreparedDiscoveryAdvertisement
impl RefUnwindSafe for PreparedDiscoveryAdvertisement
impl Send for PreparedDiscoveryAdvertisement
impl Sync for PreparedDiscoveryAdvertisement
impl Unpin for PreparedDiscoveryAdvertisement
impl UnsafeUnpin for PreparedDiscoveryAdvertisement
impl UnwindSafe for PreparedDiscoveryAdvertisement
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