pub struct BundleEventRange {
pub first: Option<u64>,
pub last: Option<u64>,
}Expand description
Inclusive positions in this bundle’s event stream. Export is a portable replay, not a view over the store’s internal sequence keys: full and filtered bundles both renumber their payload positions from one while preserving every event’s aggregate revision (and therefore every ref). An empty snapshot has neither bound.
Fields§
§first: Option<u64>§last: Option<u64>Trait Implementations§
Source§impl Clone for BundleEventRange
impl Clone for BundleEventRange
Source§fn clone(&self) -> BundleEventRange
fn clone(&self) -> BundleEventRange
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 moreimpl Copy for BundleEventRange
Source§impl Debug for BundleEventRange
impl Debug for BundleEventRange
Source§impl Default for BundleEventRange
impl Default for BundleEventRange
Source§fn default() -> BundleEventRange
fn default() -> BundleEventRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BundleEventRange
impl<'de> Deserialize<'de> for BundleEventRange
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundleEventRange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundleEventRange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BundleEventRange
Source§impl PartialEq for BundleEventRange
impl PartialEq for BundleEventRange
Source§impl Serialize for BundleEventRange
impl Serialize for BundleEventRange
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BundleEventRange
Auto Trait Implementations§
impl Freeze for BundleEventRange
impl RefUnwindSafe for BundleEventRange
impl Send for BundleEventRange
impl Sync for BundleEventRange
impl Unpin for BundleEventRange
impl UnsafeUnpin for BundleEventRange
impl UnwindSafe for BundleEventRange
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