pub struct RequestContext {
pub channel_name: String,
pub strategy: String,
pub attempt: u32,
pub timestamp: DateTime<Utc>,
pub user_agent: String,
}Expand description
Request context for tracking fetch operations
Fields§
§channel_name: StringChannel name being requested
strategy: StringStrategy being used
attempt: u32Attempt number
timestamp: DateTime<Utc>Request timestamp
user_agent: StringUser agent used
Implementations§
Trait Implementations§
Source§impl Clone for RequestContext
impl Clone for RequestContext
Source§fn clone(&self) -> RequestContext
fn clone(&self) -> RequestContext
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 RequestContext
impl RefUnwindSafe for RequestContext
impl Send for RequestContext
impl Sync for RequestContext
impl Unpin for RequestContext
impl UnwindSafe for RequestContext
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