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 moresource§impl Debug for SigmaRequest
impl Debug for SigmaRequest
source§impl PartialEq<SigmaRequest> for SigmaRequest
impl PartialEq<SigmaRequest> for SigmaRequest
source§fn eq(&self, other: &SigmaRequest) -> bool
fn eq(&self, other: &SigmaRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigmaRequest
Auto Trait Implementations§
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