Struct tg_bot_api::Method
source · pub struct Method {
pub name: String,
pub description: String,
pub args: MethodArgs,
pub return_type: Type,
pub docs_link: String,
}
Fields
name: String
description: String
args: MethodArgs
return_type: Type
docs_link: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more