pub struct changes

look into error at identity:1333
This commit is contained in:
haruyuumei 2024-03-23 14:33:45 -03:00 committed by ModulatingForce
commit bed61c2830
6 changed files with 61 additions and 48 deletions

View file

@ -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)]