Struct etwin_core::link::VersionedLink
source · pub struct VersionedLink<T: RemoteUser> {
pub current: Option<Link<T>>,
pub old: Vec<OldLink<T>>,
}
Fields§
§current: Option<Link<T>>
§old: Vec<OldLink<T>>
Trait Implementations§
source§impl<T: Clone + RemoteUser> Clone for VersionedLink<T>
impl<T: Clone + RemoteUser> Clone for VersionedLink<T>
source§fn clone(&self) -> VersionedLink<T>
fn clone(&self) -> VersionedLink<T>
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<T: Debug + RemoteUser> Debug for VersionedLink<T>
impl<T: Debug + RemoteUser> Debug for VersionedLink<T>
source§impl<T: RemoteUser> Default for VersionedLink<T>
impl<T: RemoteUser> Default for VersionedLink<T>
source§impl<T: Hash + RemoteUser> Hash for VersionedLink<T>
impl<T: Hash + RemoteUser> Hash for VersionedLink<T>
source§impl<T: Ord + RemoteUser> Ord for VersionedLink<T>
impl<T: Ord + RemoteUser> Ord for VersionedLink<T>
source§fn cmp(&self, other: &VersionedLink<T>) -> Ordering
fn cmp(&self, other: &VersionedLink<T>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq + RemoteUser> PartialEq<VersionedLink<T>> for VersionedLink<T>
impl<T: PartialEq + RemoteUser> PartialEq<VersionedLink<T>> for VersionedLink<T>
source§fn eq(&self, other: &VersionedLink<T>) -> bool
fn eq(&self, other: &VersionedLink<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: PartialOrd + RemoteUser> PartialOrd<VersionedLink<T>> for VersionedLink<T>
impl<T: PartialOrd + RemoteUser> PartialOrd<VersionedLink<T>> for VersionedLink<T>
source§fn partial_cmp(&self, other: &VersionedLink<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &VersionedLink<T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more