[−][src]Struct iso8583_rs::iso8583::bitmap::BmpField
This struct represents a bitmapped field in the ISO message
Fields
name: String
id: u32
encoding: Encoding
children: Vec<Box<dyn Field>>
Implementations
impl BmpField
[src]
Operarions on BmpField
pub fn by_position(&self, pos: u32) -> Result<&Box<dyn Field>, IsoError>
[src]
Returns a field at the position (if defined or a IsoError if not)
Trait Implementations
impl Field for BmpField
[src]
fn name(&self) -> &String
[src]
fn parse(
&self,
in_buf: &mut dyn BufRead,
f2d_map: &mut HashMap<String, Vec<u8>>
) -> Result<(), ParseError>
[src]
&self,
in_buf: &mut dyn BufRead,
f2d_map: &mut HashMap<String, Vec<u8>>
) -> Result<(), ParseError>
fn assemble(
&self,
out_buf: &mut Vec<u8>,
iso_msg: &IsoMsg
) -> Result<u32, ParseError>
[src]
&self,
out_buf: &mut Vec<u8>,
iso_msg: &IsoMsg
) -> Result<u32, ParseError>
fn position(&self) -> u32
[src]
fn children(&self) -> Vec<&dyn Field>
[src]
fn child_by_pos(&self, pos: u32) -> &dyn Field
[src]
fn child_by_name(&self, name: &String) -> &dyn Field
[src]
fn to_string(&self, data: &Vec<u8>) -> String
[src]
fn to_raw(&self, _val: &str) -> Vec<u8>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BmpField
impl !Send for BmpField
impl Sync for BmpField
impl Unpin for BmpField
impl !UnwindSafe for BmpField
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,