pub struct LinksNotification {
pub subscription: u32,
pub changes: Vec<Change>,
}Expand description
A change a LinksServer pushed to a subscriber: the
subscription it fits and its changes, a missing side being Link::null.
Each side is the link as the subscription sees it: a side that does not fit the restriction (or that the subscriber may not read) is the null link, so a link that leaves the subscription arrives as a deletion and one that comes into it as a creation.
Fields§
§subscription: u32The number the subscribe reply gave.
changes: Vec<Change>The (before, after) changes.
Trait Implementations§
Source§impl Clone for LinksNotification
impl Clone for LinksNotification
Source§impl Debug for LinksNotification
impl Debug for LinksNotification
impl Eq for LinksNotification
Source§impl PartialEq for LinksNotification
impl PartialEq for LinksNotification
impl StructuralPartialEq for LinksNotification
Auto Trait Implementations§
impl Forget for LinksNotification
impl Freeze for LinksNotification
impl Move for LinksNotification
impl RefUnwindSafe for LinksNotification
impl Send for LinksNotificationwhere
RawVecInner: Send,
impl Sync for LinksNotificationwhere
RawVecInner: Sync,
impl Unpin for LinksNotification
impl UnsafeUnpin for LinksNotificationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(GenericLink<u32>, GenericLink<u32>)>: UnsafeUnpin,
impl UnwindSafe for LinksNotificationwhere
RawVecInner: UnwindSafe,
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