asterix_parser 0.1.1

Playground do Protocolo ASTERIX
Documentation
macro_rules! get_attributes {
    () => {
        {
            use crate::asterix::uap::common::datatypes::{AsterixAttribute, AttributeType}; 
            vec![
                AsterixAttribute::new(6, 1, 48, 43, "Character 1".to_string(), "character1".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 42, 37, "Character 2".to_string(), "character2".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 36, 31, "Character 3".to_string(), "character3".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 30, 25, "Character 4".to_string(), "character4".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 24, 19, "Character 5".to_string(), "character5".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 18, 13, "Character 6".to_string(), "character6".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1, 12,  7, "Character 7".to_string(), "character7".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(6, 1,  6,  1, "Character 8".to_string(), "character8".to_string(), AttributeType::UInt16),
            ]
        }
    };
}

pub(crate) use get_attributes;