use rasn::prelude::*;
use crate::types::IsdnAddressString;
pub type MwStatus = OctetString;
pub fn mw_status(sc_addr_not_included: bool, mnrf: bool, mcef: bool, mnrg: bool) -> MwStatus {
let byte = (sc_addr_not_included as u8)
| ((mnrf as u8) << 1)
| ((mcef as u8) << 2)
| ((mnrg as u8) << 3);
vec![byte].into()
}
#[derive(Debug, Clone, PartialEq, Eq, AsnType, Decode, Encode)]
pub struct InformServiceCentreArg {
pub stored_msisdn: Option<IsdnAddressString>,
#[rasn(tag(context, 0))]
pub mw_status: Option<MwStatus>,
}