pub enum LedgerSourceContentType {
Packed,
}
Expand description
Content type for the ledger source.
Variants§
Packed
The content type is binary representation of the LogId and RecordId hashes without padding.
In the case of sha256
hash algorithm, this is a repeating sequence of 64 bytes (32 bytes
for each the LogId and RecordId) without padding.
Implementations§
Trait Implementations§
Source§impl Debug for LedgerSourceContentType
impl Debug for LedgerSourceContentType
Source§impl Default for LedgerSourceContentType
impl Default for LedgerSourceContentType
Source§fn default() -> LedgerSourceContentType
fn default() -> LedgerSourceContentType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedgerSourceContentType
impl<'de> Deserialize<'de> for LedgerSourceContentType
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 PartialEq for LedgerSourceContentType
impl PartialEq for LedgerSourceContentType
Source§fn eq(&self, other: &LedgerSourceContentType) -> bool
fn eq(&self, other: &LedgerSourceContentType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for LedgerSourceContentType
impl Serialize for LedgerSourceContentType
impl StructuralPartialEq for LedgerSourceContentType
Auto Trait Implementations§
impl Freeze for LedgerSourceContentType
impl RefUnwindSafe for LedgerSourceContentType
impl Send for LedgerSourceContentType
impl Sync for LedgerSourceContentType
impl Unpin for LedgerSourceContentType
impl UnwindSafe for LedgerSourceContentType
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> 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