pub struct PhoneServiceErrorCode(pub u32);Expand description
Extensible structured-error number that preserves unknown numeric values.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for PhoneServiceErrorCode
impl Clone for PhoneServiceErrorCode
Source§fn clone(&self) -> PhoneServiceErrorCode
fn clone(&self) -> PhoneServiceErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhoneServiceErrorCode
Source§impl Debug for PhoneServiceErrorCode
impl Debug for PhoneServiceErrorCode
Source§impl<'de> Deserialize<'de> for PhoneServiceErrorCode
impl<'de> Deserialize<'de> for PhoneServiceErrorCode
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
impl Eq for PhoneServiceErrorCode
Source§impl Hash for PhoneServiceErrorCode
impl Hash for PhoneServiceErrorCode
Source§impl PartialEq for PhoneServiceErrorCode
impl PartialEq for PhoneServiceErrorCode
Source§impl Serialize for PhoneServiceErrorCode
impl Serialize for PhoneServiceErrorCode
impl StructuralPartialEq for PhoneServiceErrorCode
Auto Trait Implementations§
impl Freeze for PhoneServiceErrorCode
impl RefUnwindSafe for PhoneServiceErrorCode
impl Send for PhoneServiceErrorCode
impl Sync for PhoneServiceErrorCode
impl Unpin for PhoneServiceErrorCode
impl UnsafeUnpin for PhoneServiceErrorCode
impl UnwindSafe for PhoneServiceErrorCode
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