Enum gitlab_client::GetReleaseError
source · pub enum GetReleaseError {
Send(String),
Receive(String),
NotFound,
Other(String),
}Variants§
Trait Implementations§
source§impl Clone for GetReleaseError
impl Clone for GetReleaseError
source§fn clone(&self) -> GetReleaseError
fn clone(&self) -> GetReleaseError
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 GetReleaseError
impl Debug for GetReleaseError
source§impl<'de> Deserialize<'de> for GetReleaseError
impl<'de> Deserialize<'de> for GetReleaseError
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 Display for GetReleaseError
impl Display for GetReleaseError
source§impl Error for GetReleaseError
impl Error for GetReleaseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Hash for GetReleaseError
impl Hash for GetReleaseError
source§impl Ord for GetReleaseError
impl Ord for GetReleaseError
source§fn cmp(&self, other: &GetReleaseError) -> Ordering
fn cmp(&self, other: &GetReleaseError) -> 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 GetReleaseError
impl PartialEq for GetReleaseError
source§fn eq(&self, other: &GetReleaseError) -> bool
fn eq(&self, other: &GetReleaseError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GetReleaseError
impl PartialOrd for GetReleaseError
source§fn partial_cmp(&self, other: &GetReleaseError) -> Option<Ordering>
fn partial_cmp(&self, other: &GetReleaseError) -> 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 GetReleaseError
impl Serialize for GetReleaseError
impl Eq for GetReleaseError
impl StructuralEq for GetReleaseError
impl StructuralPartialEq for GetReleaseError
Auto Trait Implementations§
impl RefUnwindSafe for GetReleaseError
impl Send for GetReleaseError
impl Sync for GetReleaseError
impl Unpin for GetReleaseError
impl UnwindSafe for GetReleaseError
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.