pub struct ReqId(pub String);Expand description
请求ID,使用UUID确保全局唯一性
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReqId
impl<'de> Deserialize<'de> for ReqId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReqId
impl StructuralPartialEq for ReqId
Auto Trait Implementations§
impl Freeze for ReqId
impl RefUnwindSafe for ReqId
impl Send for ReqId
impl Sync for ReqId
impl Unpin for ReqId
impl UnsafeUnpin for ReqId
impl UnwindSafe for ReqId
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