Struct golem_client::model::VersionedTemplateId
source · pub struct VersionedTemplateId {
pub raw_template_id: Uuid,
pub version: i32,
}
Fields§
§raw_template_id: Uuid
§version: i32
Trait Implementations§
source§impl Clone for VersionedTemplateId
impl Clone for VersionedTemplateId
source§fn clone(&self) -> VersionedTemplateId
fn clone(&self) -> VersionedTemplateId
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 VersionedTemplateId
impl Debug for VersionedTemplateId
source§impl<'de> Deserialize<'de> for VersionedTemplateId
impl<'de> Deserialize<'de> for VersionedTemplateId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for VersionedTemplateId
impl Hash for VersionedTemplateId
source§impl Ord for VersionedTemplateId
impl Ord for VersionedTemplateId
source§fn cmp(&self, other: &VersionedTemplateId) -> Ordering
fn cmp(&self, other: &VersionedTemplateId) -> 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 VersionedTemplateId
impl PartialEq for VersionedTemplateId
source§fn eq(&self, other: &VersionedTemplateId) -> bool
fn eq(&self, other: &VersionedTemplateId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VersionedTemplateId
impl PartialOrd for VersionedTemplateId
source§fn partial_cmp(&self, other: &VersionedTemplateId) -> Option<Ordering>
fn partial_cmp(&self, other: &VersionedTemplateId) -> 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 VersionedTemplateId
impl Serialize for VersionedTemplateId
impl Eq for VersionedTemplateId
impl StructuralEq for VersionedTemplateId
impl StructuralPartialEq for VersionedTemplateId
Auto Trait Implementations§
impl RefUnwindSafe for VersionedTemplateId
impl Send for VersionedTemplateId
impl Sync for VersionedTemplateId
impl Unpin for VersionedTemplateId
impl UnwindSafe for VersionedTemplateId
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.