Enum redgold_schema::structs::DownloadDataType
source · #[repr(i32)]pub enum DownloadDataType {
UtxoEntry = 0,
TransactionEntry = 1,
ObservationEntry = 2,
ObservationEdgeEntry = 3,
BlockEntry = 4,
SnapshotEntry = 5,
}Variants§
UtxoEntry = 0
TransactionEntry = 1
ObservationEntry = 2
ObservationEdgeEntry = 3
BlockEntry = 4
Currently unsupported
SnapshotEntry = 5
Implementations§
Trait Implementations§
source§impl Clone for DownloadDataType
impl Clone for DownloadDataType
source§fn clone(&self) -> DownloadDataType
fn clone(&self) -> DownloadDataType
Returns a copy 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 DownloadDataType
impl Debug for DownloadDataType
source§impl Default for DownloadDataType
impl Default for DownloadDataType
source§fn default() -> DownloadDataType
fn default() -> DownloadDataType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DownloadDataType
impl<'de> Deserialize<'de> for DownloadDataType
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 From<DownloadDataType> for i32
impl From<DownloadDataType> for i32
source§fn from(value: DownloadDataType) -> i32
fn from(value: DownloadDataType) -> i32
Converts to this type from the input type.
source§impl FromStr for DownloadDataType
impl FromStr for DownloadDataType
source§impl Hash for DownloadDataType
impl Hash for DownloadDataType
source§impl IntoEnumIterator for DownloadDataType
impl IntoEnumIterator for DownloadDataType
type Iterator = DownloadDataTypeIter
fn iter() -> DownloadDataTypeIter ⓘ
source§impl Ord for DownloadDataType
impl Ord for DownloadDataType
source§fn cmp(&self, other: &DownloadDataType) -> Ordering
fn cmp(&self, other: &DownloadDataType) -> 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 DownloadDataType
impl PartialEq for DownloadDataType
source§fn eq(&self, other: &DownloadDataType) -> bool
fn eq(&self, other: &DownloadDataType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DownloadDataType
impl PartialOrd for DownloadDataType
source§fn partial_cmp(&self, other: &DownloadDataType) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadDataType) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for DownloadDataType
impl Serialize for DownloadDataType
source§impl TryFrom<&str> for DownloadDataType
impl TryFrom<&str> for DownloadDataType
impl Copy for DownloadDataType
impl Eq for DownloadDataType
impl StructuralEq for DownloadDataType
impl StructuralPartialEq for DownloadDataType
Auto Trait Implementations§
impl RefUnwindSafe for DownloadDataType
impl Send for DownloadDataType
impl Sync for DownloadDataType
impl Unpin for DownloadDataType
impl UnwindSafe for DownloadDataType
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