pub struct InternalResponse {
pub data: Option<Vec<u8>>,
pub error: Option<(i32, String)>,
}Fields§
§data: Option<Vec<u8>>§error: Option<(i32, String)>Implementations§
Trait Implementations§
Source§impl Clone for InternalResponse
impl Clone for InternalResponse
Source§fn clone(&self) -> InternalResponse
fn clone(&self) -> InternalResponse
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 moreAuto Trait Implementations§
impl Freeze for InternalResponse
impl RefUnwindSafe for InternalResponse
impl Send for InternalResponse
impl Sync for InternalResponse
impl Unpin for InternalResponse
impl UnsafeUnpin for InternalResponse
impl UnwindSafe for InternalResponse
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