Struct silver_platter::RevisionId
source · pub struct RevisionId(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for RevisionId
impl Clone for RevisionId
source§fn clone(&self) -> RevisionId
fn clone(&self) -> RevisionId
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 RevisionId
impl Debug for RevisionId
source§impl<'de> Deserialize<'de> for RevisionId
impl<'de> Deserialize<'de> for RevisionId
source§fn deserialize<D>(
deserializer: D
) -> Result<RevisionId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<RevisionId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RevisionId
impl Display for RevisionId
source§impl FromPyObject<'_> for RevisionId
impl FromPyObject<'_> for RevisionId
source§impl Hash for RevisionId
impl Hash for RevisionId
source§impl Ord for RevisionId
impl Ord for RevisionId
source§fn cmp(&self, other: &RevisionId) -> Ordering
fn cmp(&self, other: &RevisionId) -> 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 PartialEq for RevisionId
impl PartialEq for RevisionId
source§fn eq(&self, other: &RevisionId) -> bool
fn eq(&self, other: &RevisionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RevisionId
impl PartialOrd for RevisionId
source§fn partial_cmp(&self, other: &RevisionId) -> Option<Ordering>
fn partial_cmp(&self, other: &RevisionId) -> 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 moresource§impl Serialize for RevisionId
impl Serialize for RevisionId
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
source§impl ToPyObject for &RevisionId
impl ToPyObject for &RevisionId
impl Eq for RevisionId
impl StructuralEq for RevisionId
impl StructuralPartialEq for RevisionId
Auto Trait Implementations§
impl RefUnwindSafe for RevisionId
impl Send for RevisionId
impl Sync for RevisionId
impl Unpin for RevisionId
impl UnwindSafe for RevisionId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.