pub struct GroupRegistry {
pub groups: Vec<(String, String)>,
}Expand description
Registry of declared method groups from #[server(groups(...))].
When present on an impl block, method group values are resolved as IDs
against this registry. When absent, group values are literal display names.
Fields§
§groups: Vec<(String, String)>Ordered list of (id, display_name) pairs. Ordering determines display order in help output and documentation.
Trait Implementations§
Source§impl Clone for GroupRegistry
impl Clone for GroupRegistry
Source§fn clone(&self) -> GroupRegistry
fn clone(&self) -> GroupRegistry
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 GroupRegistry
impl RefUnwindSafe for GroupRegistry
impl Send for GroupRegistry
impl Sync for GroupRegistry
impl Unpin for GroupRegistry
impl UnsafeUnpin for GroupRegistry
impl UnwindSafe for GroupRegistry
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