pub enum SubscriptionUpdate {
Modified {
report: ParseReport,
validators: SubscriptionValidators,
},
NotModified,
}Expand description
A conditional subscription request’s result.
Variants§
Modified
New content was received and successfully parsed.
Fields
§
report: ParseReportNodes and skipped-entry count from the new content.
§
validators: SubscriptionValidatorsValidators from this response, replacing any previous validators.
NotModified
HTTP 304: retain the nodes belonging to the supplied validators.
Trait Implementations§
Source§impl Clone for SubscriptionUpdate
impl Clone for SubscriptionUpdate
Source§fn clone(&self) -> SubscriptionUpdate
fn clone(&self) -> SubscriptionUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubscriptionUpdate
impl RefUnwindSafe for SubscriptionUpdate
impl Send for SubscriptionUpdate
impl Sync for SubscriptionUpdate
impl Unpin for SubscriptionUpdate
impl UnsafeUnpin for SubscriptionUpdate
impl UnwindSafe for SubscriptionUpdate
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