Struct redmine_api::api::versions::VersionEssentials
source · pub struct VersionEssentials {
pub id: u64,
pub name: String,
}
Expand description
a minimal type for Redmine versions included in other Redmine objects
Fields§
§id: u64
numeric id
name: String
display name
Trait Implementations§
source§impl Debug for VersionEssentials
impl Debug for VersionEssentials
source§impl<'de> Deserialize<'de> for VersionEssentials
impl<'de> Deserialize<'de> for VersionEssentials
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 From<&Version> for VersionEssentials
impl From<&Version> for VersionEssentials
source§impl From<Version> for VersionEssentials
impl From<Version> for VersionEssentials
source§impl PartialEq for VersionEssentials
impl PartialEq for VersionEssentials
source§fn eq(&self, other: &VersionEssentials) -> bool
fn eq(&self, other: &VersionEssentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VersionEssentials
impl Serialize for VersionEssentials
impl Eq for VersionEssentials
impl StructuralPartialEq for VersionEssentials
Auto Trait Implementations§
impl RefUnwindSafe for VersionEssentials
impl Send for VersionEssentials
impl Sync for VersionEssentials
impl Unpin for VersionEssentials
impl UnwindSafe for VersionEssentials
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> 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.