pub struct Method {
pub name: String,
pub input_type: String,
pub output_type: String,
pub options: Vec<MethodOption>,
}Expand description
A method definition within a service.
Fields§
§name: StringThe name of the method.
input_type: StringThe input message type.
output_type: StringThe output message type.
options: Vec<MethodOption>Options associated with the method.
Trait Implementations§
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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