pub struct RpcMethod<'input> {
pub span: Span,
pub ident: IdentToken<'input>,
pub start_paren: SimpleToken<'input>,
pub argument_type: Type<'input>,
pub end_paren: SimpleToken<'input>,
pub colon: SimpleToken<'input>,
pub return_type: Type<'input>,
pub metadata: Option<Metadata<'input>>,
pub semicolon: SimpleToken<'input>,
}Fields§
§span: Span§ident: IdentToken<'input>§start_paren: SimpleToken<'input>§argument_type: Type<'input>§end_paren: SimpleToken<'input>§colon: SimpleToken<'input>§return_type: Type<'input>§metadata: Option<Metadata<'input>>§semicolon: SimpleToken<'input>Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for RpcMethod<'input>
impl<'input> RefUnwindSafe for RpcMethod<'input>
impl<'input> Send for RpcMethod<'input>
impl<'input> Sync for RpcMethod<'input>
impl<'input> Unpin for RpcMethod<'input>
impl<'input> UnwindSafe for RpcMethod<'input>
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