pub enum OldRepositoryContentChange {
SessionReset {
reset: RrdpSessionReset,
},
PublisherAdded {
publisher: PublisherHandle,
},
PublisherRemoved {
publisher: PublisherHandle,
},
PublishedObjects {
publisher: PublisherHandle,
current_objects: OldCurrentObjects,
},
RrdpDeltaStaged {
delta: DeltaElements,
},
RrdpUpdated {
update: RrdpUpdated,
},
}
Expand description
Changes for the Old RepositoryContent.
We will need to replay any unapplied changes to the latest snapshot when we migrate.
Variants§
SessionReset
Fields
§
reset: RrdpSessionReset
PublisherAdded
Fields
§
publisher: PublisherHandle
PublisherRemoved
Fields
§
publisher: PublisherHandle
PublishedObjects
RrdpDeltaStaged
Fields
§
delta: DeltaElements
RrdpUpdated
Fields
§
update: RrdpUpdated
Trait Implementations§
source§impl Clone for OldRepositoryContentChange
impl Clone for OldRepositoryContentChange
source§fn clone(&self) -> OldRepositoryContentChange
fn clone(&self) -> OldRepositoryContentChange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OldRepositoryContentChange
impl Debug for OldRepositoryContentChange
source§impl<'de> Deserialize<'de> for OldRepositoryContentChange
impl<'de> Deserialize<'de> for OldRepositoryContentChange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OldRepositoryContentChange
impl Display for OldRepositoryContentChange
source§impl PartialEq for OldRepositoryContentChange
impl PartialEq for OldRepositoryContentChange
source§fn eq(&self, other: &OldRepositoryContentChange) -> bool
fn eq(&self, other: &OldRepositoryContentChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OldRepositoryContentChange
impl StructuralEq for OldRepositoryContentChange
impl StructuralPartialEq for OldRepositoryContentChange
impl WalChange for OldRepositoryContentChange
Auto Trait Implementations§
impl RefUnwindSafe for OldRepositoryContentChange
impl Send for OldRepositoryContentChange
impl Sync for OldRepositoryContentChange
impl Unpin for OldRepositoryContentChange
impl UnwindSafe for OldRepositoryContentChange
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.