pub struct ContentNotification { /* private fields */ }
Implementations§
Source§impl ContentNotification
impl ContentNotification
pub fn new(pub_key: String, content_id: u32) -> Self
pub fn get_pub_key(&self) -> &String
pub fn get_content_id(&self) -> &u32
Auto Trait Implementations§
impl Freeze for ContentNotification
impl RefUnwindSafe for ContentNotification
impl Send for ContentNotification
impl Sync for ContentNotification
impl Unpin for ContentNotification
impl UnwindSafe for ContentNotification
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