#[repr(transparent)]pub struct TransactionVersion(pub i8);Tuple Fields§
§0: i8Implementations§
Trait Implementations§
Source§impl Clone for TransactionVersion
impl Clone for TransactionVersion
Source§fn clone(&self) -> TransactionVersion
fn clone(&self) -> TransactionVersion
Returns a duplicate 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 TransactionVersion
impl Debug for TransactionVersion
Source§impl Default for TransactionVersion
impl Default for TransactionVersion
Source§fn default() -> TransactionVersion
fn default() -> TransactionVersion
Returns the “default value” for a type. Read more
Source§impl EndianScalar for TransactionVersion
impl EndianScalar for TransactionVersion
Source§impl<'a> Follow<'a> for TransactionVersion
impl<'a> Follow<'a> for TransactionVersion
Source§impl Hash for TransactionVersion
impl Hash for TransactionVersion
Source§impl Ord for TransactionVersion
impl Ord for TransactionVersion
Source§fn cmp(&self, other: &TransactionVersion) -> Ordering
fn cmp(&self, other: &TransactionVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionVersion
impl PartialEq for TransactionVersion
Source§impl PartialOrd for TransactionVersion
impl PartialOrd for TransactionVersion
Source§impl Push for TransactionVersion
impl Push for TransactionVersion
Source§impl<'a> Verifiable for TransactionVersion
impl<'a> Verifiable for TransactionVersion
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for TransactionVersion
impl Eq for TransactionVersion
impl SimpleToVerifyInSlice for TransactionVersion
impl StructuralPartialEq for TransactionVersion
Auto Trait Implementations§
impl Freeze for TransactionVersion
impl RefUnwindSafe for TransactionVersion
impl Send for TransactionVersion
impl Sync for TransactionVersion
impl Unpin for TransactionVersion
impl UnwindSafe for TransactionVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more