Enum scl_core::http::RequestResult
source · pub enum RequestResult<T> {
Ok(T),
Err(ErrorResponse),
}
Expand description
针对 Mojang 验证 API 的响应结构
Variants§
Trait Implementations§
source§impl<T: Clone> Clone for RequestResult<T>
impl<T: Clone> Clone for RequestResult<T>
source§fn clone(&self) -> RequestResult<T>
fn clone(&self) -> RequestResult<T>
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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for RequestResult<T>where T: RefUnwindSafe,
impl<T> Send for RequestResult<T>where T: Send,
impl<T> Sync for RequestResult<T>where T: Sync,
impl<T> Unpin for RequestResult<T>where T: Unpin,
impl<T> UnwindSafe for RequestResult<T>where T: UnwindSafe,
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