pub struct ServiceOperation(pub &'static str);Expand description
A service-specific operation name attached to HTTP requests.
While Operation describes the OpenDAL-level operation (e.g., read, write, list),
ServiceOperation describes the specific backend API call being made as a supplement.
Services attach this as an HTTP request extension so that observability layers can provide finer-grained breakdowns of HTTP traffic.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl Clone for ServiceOperation
impl Clone for ServiceOperation
Source§fn clone(&self) -> ServiceOperation
fn clone(&self) -> ServiceOperation
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 moreSource§impl Debug for ServiceOperation
impl Debug for ServiceOperation
Source§impl Hash for ServiceOperation
impl Hash for ServiceOperation
Source§impl PartialEq for ServiceOperation
impl PartialEq for ServiceOperation
impl Copy for ServiceOperation
impl Eq for ServiceOperation
impl StructuralPartialEq for ServiceOperation
Auto Trait Implementations§
impl Freeze for ServiceOperation
impl RefUnwindSafe for ServiceOperation
impl Send for ServiceOperation
impl Sync for ServiceOperation
impl Unpin for ServiceOperation
impl UnwindSafe for ServiceOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.