pub struct ApiStatus(pub String);Expand description
A non-success status returned by the voip.ms API.
voip.ms surfaces all method-specific error conditions through the status
field of the JSON response. The set of values varies per method and is not
stable across versions, so we keep this as a thin wrapper over the wire
string. See the official voip.ms API documentation for per-method status
values.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
impl Eq for ApiStatus
impl StructuralPartialEq for ApiStatus
Auto Trait Implementations§
impl Freeze for ApiStatus
impl RefUnwindSafe for ApiStatus
impl Send for ApiStatus
impl Sync for ApiStatus
impl Unpin for ApiStatus
impl UnsafeUnpin for ApiStatus
impl UnwindSafe for ApiStatus
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