Struct cemtexer::blocks::DescriptiveBlock
source · [−]pub struct DescriptiveBlock {
pub record_type: String,
pub blank_1: String,
pub reel_seq: String,
pub bank_name: String,
pub blank_2: String,
pub user_name: String,
pub apca_number: String,
pub file_description: String,
pub settle_date: String,
pub blank_3: String,
}
Fields
record_type: String
blank_1: String
reel_seq: String
bank_name: String
blank_2: String
user_name: String
apca_number: String
file_description: String
settle_date: String
blank_3: String
Implementations
sourceimpl DescriptiveBlock
impl DescriptiveBlock
pub fn deserialise(i: &str) -> IResult<&str, Self>
pub fn validate(&self) -> Result<String, LineParseError>
Trait Implementations
sourceimpl Clone for DescriptiveBlock
impl Clone for DescriptiveBlock
sourcefn clone(&self) -> DescriptiveBlock
fn clone(&self) -> DescriptiveBlock
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 DescriptiveBlock
impl Debug for DescriptiveBlock
sourceimpl Default for DescriptiveBlock
impl Default for DescriptiveBlock
sourcefn default() -> DescriptiveBlock
fn default() -> DescriptiveBlock
Returns the “default value” for a type. Read more
sourceimpl Display for DescriptiveBlock
impl Display for DescriptiveBlock
sourceimpl From<SettlementSettings> for DescriptiveBlock
impl From<SettlementSettings> for DescriptiveBlock
sourcefn from(desc_settings: SettlementSettings) -> Self
fn from(desc_settings: SettlementSettings) -> Self
Converts to this type from the input type.
sourceimpl Hash for DescriptiveBlock
impl Hash for DescriptiveBlock
sourceimpl Ord for DescriptiveBlock
impl Ord for DescriptiveBlock
sourcefn cmp(&self, other: &DescriptiveBlock) -> Ordering
fn cmp(&self, other: &DescriptiveBlock) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DescriptiveBlock> for DescriptiveBlock
impl PartialEq<DescriptiveBlock> for DescriptiveBlock
sourcefn eq(&self, other: &DescriptiveBlock) -> bool
fn eq(&self, other: &DescriptiveBlock) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescriptiveBlock) -> bool
fn ne(&self, other: &DescriptiveBlock) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DescriptiveBlock> for DescriptiveBlock
impl PartialOrd<DescriptiveBlock> for DescriptiveBlock
sourcefn partial_cmp(&self, other: &DescriptiveBlock) -> Option<Ordering>
fn partial_cmp(&self, other: &DescriptiveBlock) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for DescriptiveBlock
impl StructuralEq for DescriptiveBlock
impl StructuralPartialEq for DescriptiveBlock
Auto Trait Implementations
impl RefUnwindSafe for DescriptiveBlock
impl Send for DescriptiveBlock
impl Sync for DescriptiveBlock
impl Unpin for DescriptiveBlock
impl UnwindSafe for DescriptiveBlock
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.