pub struct MethodMetadata {
pub name: String,
pub description: String,
pub parameters: Vec<ParameterMetadata>,
pub return_type: String,
}
Expand description
Metadata about a capability method
Fields§
§name: String
§description: String
§parameters: Vec<ParameterMetadata>
§return_type: String
Trait Implementations§
Source§impl Clone for MethodMetadata
impl Clone for MethodMetadata
Source§fn clone(&self) -> MethodMetadata
fn clone(&self) -> MethodMetadata
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 MethodMetadata
impl RefUnwindSafe for MethodMetadata
impl Send for MethodMetadata
impl Sync for MethodMetadata
impl Unpin for MethodMetadata
impl UnwindSafe for MethodMetadata
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