Struct extfg_sigma::SigmaRequest
source · pub struct SigmaRequest {
pub auth_serno: u64,
pub tags: BTreeMap<u16, String>,
pub iso_fields: BTreeMap<u16, IsoFieldData>,
pub iso_subfields: BTreeMap<(u16, u8), IsoFieldData>,
/* private fields */
}Fields§
§auth_serno: u64§iso_fields: BTreeMap<u16, IsoFieldData>§iso_subfields: BTreeMap<(u16, u8), IsoFieldData>Implementations§
source§impl SigmaRequest
impl SigmaRequest
pub fn new(
saf: &str,
source: &str,
mti: &str,
auth_serno: u64
) -> Result<Self, Error>
pub fn from_json_value(data: Value) -> Result<SigmaRequest, Error>
pub fn encode(&self) -> Result<Bytes, Error>
pub fn decode(data: Bytes) -> Result<Self, Error>
pub fn saf(&self) -> &str
pub fn set_saf(&mut self, v: String) -> Result<(), Error>
pub fn source(&self) -> &str
pub fn set_source(&mut self, v: String) -> Result<(), Error>
pub fn mti(&self) -> &str
pub fn set_mti(&mut self, v: String) -> Result<(), Error>
Trait Implementations§
source§impl Clone for SigmaRequest
impl Clone for SigmaRequest
source§fn clone(&self) -> SigmaRequest
fn clone(&self) -> SigmaRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more