pub struct BillID {
pub file_id: String,
pub company_code: String,
pub type: BillType,
pub checksum: u8,
}
Expand description
Bill ID Structure based on مستندات طرح هماهنگ پرداخت الکترونیکی قبوض - کمیسیون انفورماتیک بانکها \
File ID Maximum Length: 8 | Company Code Length: 3 | Service Type Length: 1 | Checksum Length: 1 |
---|
Checksum is calculated via ISSN Modulo 11 check digit
Fields§
§file_id: String
Maximum 8-digit Company Internal File ID
company_code: String
3-digit Company Code
type: BillType
Service Type
checksum: u8
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BillID
impl<'de> Deserialize<'de> for BillID
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for BillID
impl FromStr for BillID
impl Eq for BillID
impl StructuralPartialEq for BillID
Auto Trait Implementations§
impl Freeze for BillID
impl RefUnwindSafe for BillID
impl Send for BillID
impl Sync for BillID
impl Unpin for BillID
impl UnwindSafe for BillID
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