pub struct CommandInfo {
pub name: String,
pub file_path: String,
pub line_number: usize,
pub parameters: Vec<ParameterInfo>,
pub return_type: String,
pub return_type_structure: TypeStructure,
pub is_async: bool,
pub channels: Vec<ChannelInfo>,
pub serde_rename_all: Option<RenameRule>,
}Fields§
§name: String§file_path: String§line_number: usize§parameters: Vec<ParameterInfo>§return_type: String§return_type_structure: TypeStructureStructured representation of the return type for generators
is_async: bool§channels: Vec<ChannelInfo>§serde_rename_all: Option<RenameRule>Serde rename_all attribute: #[serde(rename_all = “…”)] Applied to command function, affects parameter/channel serialization
Auto Trait Implementations§
impl Freeze for CommandInfo
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnwindSafe for CommandInfo
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