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: u64iso_fields: BTreeMap<u16, IsoFieldData>iso_subfields: BTreeMap<(u16, u8), IsoFieldData>Implementations
sourceimpl 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
sourceimpl Clone for SigmaRequest
impl Clone for SigmaRequest
sourcefn clone(&self) -> SigmaRequest
fn clone(&self) -> SigmaRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SigmaRequest
impl Debug for SigmaRequest
sourceimpl PartialEq<SigmaRequest> for SigmaRequest
impl PartialEq<SigmaRequest> for SigmaRequest
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SigmaRequest) -> bool
fn ne(&self, other: &SigmaRequest) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more