Struct PullLifecycleGeneration
pub struct PullLifecycleGeneration {
pub(crate) pull: PullId,
pub(crate) pull_epoch: u32,
pub(crate) lifecycle_epoch: u64,
}Fields§
§pull: PullId§pull_epoch: u32§lifecycle_epoch: u64Implementations§
§impl PullLifecycleGeneration
impl PullLifecycleGeneration
pub const fn new( pull: PullId, pull_epoch: u32, lifecycle_epoch: u64, ) -> PullLifecycleGeneration
pub const fn pull(self) -> PullId
pub const fn pull_epoch(self) -> u32
pub const fn lifecycle_epoch(self) -> u64
Trait Implementations§
§impl Clone for PullLifecycleGeneration
impl Clone for PullLifecycleGeneration
§fn clone(&self) -> PullLifecycleGeneration
fn clone(&self) -> PullLifecycleGeneration
Returns a duplicate 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 more§impl Debug for PullLifecycleGeneration
impl Debug for PullLifecycleGeneration
§impl PartialEq for PullLifecycleGeneration
impl PartialEq for PullLifecycleGeneration
impl Copy for PullLifecycleGeneration
impl Eq for PullLifecycleGeneration
impl StructuralPartialEq for PullLifecycleGeneration
Auto Trait Implementations§
impl Freeze for PullLifecycleGeneration
impl RefUnwindSafe for PullLifecycleGeneration
impl Send for PullLifecycleGeneration
impl Sync for PullLifecycleGeneration
impl Unpin for PullLifecycleGeneration
impl UnsafeUnpin for PullLifecycleGeneration
impl UnwindSafe for PullLifecycleGeneration
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