Struct garage_api::helpers::ReqCtx
source · pub struct ReqCtx {
pub garage: Arc<Garage>,
pub bucket_id: Uuid,
pub bucket_name: String,
pub bucket_params: BucketParams,
pub api_key: Key,
}
Expand description
The values which are known for each request related to a bucket
Fields§
§garage: Arc<Garage>
§bucket_id: Uuid
§bucket_name: String
§bucket_params: BucketParams
§api_key: Key
Auto Trait Implementations§
impl Freeze for ReqCtx
impl !RefUnwindSafe for ReqCtx
impl Send for ReqCtx
impl Sync for ReqCtx
impl Unpin for ReqCtx
impl !UnwindSafe for ReqCtx
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