pub struct TagClient<'sdk, T: Transport + Clone> { /* private fields */ }Expand description
Tag-scoped SDK view over the generated operation registry.
§Extension Trait Pattern
Tag-specific convenience methods can be added via extension traits
without modifying the core TagClient type.
Implementations§
Source§impl<T: Transport + Clone> TagClient<'_, T>
impl<T: Transport + Clone> TagClient<'_, T>
Sourcepub fn descriptors(
&self,
) -> impl Iterator<Item = &'static GeneratedOperationDescriptor> + '_
pub fn descriptors( &self, ) -> impl Iterator<Item = &'static GeneratedOperationDescriptor> + '_
Iterate over the generated descriptors assigned to this tag.
Sourcepub fn operation(&self, operation_id: &str) -> Option<OperationCall<'_, T>>
pub fn operation(&self, operation_id: &str) -> Option<OperationCall<'_, T>>
Resolve an operation within this tag-scoped view.
Trait Implementations§
impl<'sdk, T: Copy + Transport + Clone> Copy for TagClient<'sdk, T>
Auto Trait Implementations§
impl<'sdk, T> Freeze for TagClient<'sdk, T>
impl<'sdk, T> RefUnwindSafe for TagClient<'sdk, T>where
T: RefUnwindSafe,
impl<'sdk, T> Send for TagClient<'sdk, T>
impl<'sdk, T> Sync for TagClient<'sdk, T>
impl<'sdk, T> Unpin for TagClient<'sdk, T>
impl<'sdk, T> UnsafeUnpin for TagClient<'sdk, T>
impl<'sdk, T> UnwindSafe for TagClient<'sdk, T>where
T: RefUnwindSafe,
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