rusmpp-core 0.4.0

A Rust SMPP library.
Documentation
use rusmpp_macros::TlvValue;

use crate::{
    CommandStatus,
    tlvs::{
        TlvTag,
        borrowed::{Tlv, TlvValue},
    },
    types::borrowed::AnyOctetString,
    values::borrowed::*,
};

#[non_exhaustive]
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, TlvValue)]
#[cfg_attr(feature = "serde", derive(::serde::Serialize))]
pub enum BroadcastResponseTlvValue<'a> {
    BroadcastErrorStatus(CommandStatus),
    BroadcastAreaIdentifier(BroadcastAreaIdentifier<'a>),
    Other {
        tag: TlvTag,
        value: AnyOctetString<'a>,
    },
}