Struct depdive::update::VersionChangeInfo [−][src]
pub struct VersionChangeInfo { pub old_version: Option<Version>, pub new_version: Option<Version>, }
Fields
old_version: Option<Version>
new_version: Option<Version>
Auto Trait Implementations
impl RefUnwindSafe for VersionChangeInfo
impl Send for VersionChangeInfo
impl Sync for VersionChangeInfo
impl Unpin for VersionChangeInfo
impl UnwindSafe for VersionChangeInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more