Struct tg_bot_api::Argument
source · pub struct Argument {
pub name: String,
pub kind: Type,
pub required: bool,
pub description: String,
}
Fields
name: String
kind: Type
required: bool
description: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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