pub struct MethodInfo {
pub id: u32,
pub name: String,
pub full_name: String,
pub doc: String,
pub args: Vec<ArgInfo>,
pub is_streaming: bool,
}Expand description
Information about a method.
Fields§
§id: u32Method ID (for debugging/logging).
name: StringMethod name (e.g., “add”).
full_name: StringFull qualified name (e.g., “Calculator.add”).
doc: StringMethod documentation.
args: Vec<ArgInfo>Argument names and types.
is_streaming: boolWhether this is a streaming method.
Trait Implementations§
Source§impl Clone for MethodInfo
impl Clone for MethodInfo
Source§fn clone(&self) -> MethodInfo
fn clone(&self) -> MethodInfo
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 MethodInfo
impl Debug for MethodInfo
Auto Trait Implementations§
impl Freeze for MethodInfo
impl RefUnwindSafe for MethodInfo
impl Send for MethodInfo
impl Sync for MethodInfo
impl Unpin for MethodInfo
impl UnwindSafe for MethodInfo
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