pub struct changes
look into error at identity:1333
This commit is contained in:
parent
960cd5724c
commit
bed61c2830
6 changed files with 61 additions and 48 deletions
src/core
|
@ -43,8 +43,14 @@ pub enum ChangeResult {
|
|||
// pub use ChType::Channel;
|
||||
//
|
||||
//simplifying from enum to struct
|
||||
pub struct Channel(pub String);
|
||||
|
||||
pub struct Channel(String);
|
||||
impl Channel
|
||||
{
|
||||
pub fn construct(channel_string:String) -> Channel
|
||||
{
|
||||
Channel(channel_string)
|
||||
}
|
||||
}
|
||||
use super::botmodules::StatusType;
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue