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 duplicate 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 moreSource§impl Debug for SigmaRequest
impl Debug for SigmaRequest
Source§impl PartialEq for SigmaRequest
impl PartialEq for SigmaRequest
impl StructuralPartialEq for SigmaRequest
Auto Trait Implementations§
impl Freeze for SigmaRequest
impl RefUnwindSafe for SigmaRequest
impl Send for SigmaRequest
impl Sync for SigmaRequest
impl Unpin for SigmaRequest
impl UnwindSafe for SigmaRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more