pub struct ArgDescriptor {
pub name: &'static str,
pub shape: &'static Shape,
}Expand description
Descriptor for a single RPC method argument.
Contains metadata about an argument including its name, shape, and whether it’s a channel type (Rx/Tx).
Fields§
§name: &'static strArgument name (e.g., “user_id”, “stream”).
shape: &'static ShapeArgument type shape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgDescriptor
impl RefUnwindSafe for ArgDescriptor
impl Send for ArgDescriptor
impl Sync for ArgDescriptor
impl Unpin for ArgDescriptor
impl UnsafeUnpin for ArgDescriptor
impl UnwindSafe for ArgDescriptor
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