pub struct ApiErrorId(pub String);Expand description
ID of API errors.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ApiErrorId
impl Clone for ApiErrorId
Source§fn clone(&self) -> ApiErrorId
fn clone(&self) -> ApiErrorId
Returns a duplicate 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 ApiErrorId
impl Debug for ApiErrorId
Source§impl<'de> Deserialize<'de> for ApiErrorId
impl<'de> Deserialize<'de> for ApiErrorId
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 ApiErrorId
impl Display for ApiErrorId
Source§impl FromStr for ApiErrorId
impl FromStr for ApiErrorId
Source§type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<ApiErrorId, Infallible>
fn from_str(s: &str) -> Result<ApiErrorId, Infallible>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ApiErrorId
impl Hash for ApiErrorId
Source§impl PartialEq for ApiErrorId
impl PartialEq for ApiErrorId
Source§impl Serialize for ApiErrorId
impl Serialize for ApiErrorId
impl Eq for ApiErrorId
impl StructuralPartialEq for ApiErrorId
Auto Trait Implementations§
impl Freeze for ApiErrorId
impl RefUnwindSafe for ApiErrorId
impl Send for ApiErrorId
impl Sync for ApiErrorId
impl Unpin for ApiErrorId
impl UnwindSafe for ApiErrorId
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