pub struct Fetched {
pub response: Arc<ApiResponse>,
pub not_modified: bool,
}Expand description
One response, and whether GitHub said it was unchanged.
Fields§
§response: Arc<ApiResponse>The full response: freshly received, or the cached copy GitHub said is
still current. Never a bodiless 304.
not_modified: booltrue when GitHub answered 304 and response is the cached copy.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnsafeUnpin for Fetched
impl UnwindSafe for Fetched
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